diff --git a/www/DataStoreContent.js b/www/DataStoreContent.js index 24ca9693..8ac001f4 100644 --- a/www/DataStoreContent.js +++ b/www/DataStoreContent.js @@ -1,6 +1,12 @@ Ext.define('pbs-data-store-content', { extend: 'Ext.data.Model', - fields: [ 'snapshot' ], + fields: [ + 'backup-id', + 'backup-time', + 'backup-type', + 'files', + { name: 'size', type: 'int', defaultValue: 0 }, + ], }); Ext.define('PBS.DataStoreContent', { @@ -27,6 +33,13 @@ Ext.define('PBS.DataStoreContent', { renderer: Proxmox.Utils.render_timestamp, flex: 1 }, + { + header: gettext('Size'), + sortable: true, + dataIndex: 'size', + renderer: Proxmox.Utils.format_size, + flex: 1 + }, ], store: {