[pve-devel] [PATCH manager 2/3] ui: make storage backup content stateful

Dominik Csapak d.csapak at proxmox.com
Thu Apr 20 10:06:15 CEST 2023


so that e.g. a custom sort/column order is saved

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/storage/BackupView.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/www/manager6/storage/BackupView.js b/www/manager6/storage/BackupView.js
index 9ad1a4915..bb045f5b6 100644
--- a/www/manager6/storage/BackupView.js
+++ b/www/manager6/storage/BackupView.js
@@ -5,6 +5,9 @@ Ext.define('PVE.storage.BackupView', {
 
     showColumns: ['name', 'notes', 'protected', 'date', 'format', 'size'],
 
+    stateful: true,
+    stateId: 'storage-backup-content',
+
     initComponent: function() {
 	let me = this;
 
-- 
2.30.2






More information about the pve-devel mailing list