[pbs-devel] [PATCH proxmox-backup 1/9] ui: tape/BackupOverview: expand pools by default
Dominik Csapak
d.csapak at proxmox.com
Wed May 26 15:48:03 CEST 2021
normally, users will not have many tape media pools,
and are more interested in the actual media-sets, so
expand those nodes by default
if the list gets very long, the user can collapse some pools anyway
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/tape/BackupOverview.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/www/tape/BackupOverview.js b/www/tape/BackupOverview.js
index 1ccbb7f4..16e9a581 100644
--- a/www/tape/BackupOverview.js
+++ b/www/tape/BackupOverview.js
@@ -66,6 +66,7 @@ Ext.define('PBS.TapeManagement.BackupOverview', {
for (const [pool, media_sets] of Object.entries(data)) {
let pool_entry = Ext.create('Ext.data.TreeModel', {
text: pool,
+ expanded: true,
leaf: false,
});
--
2.20.1
More information about the pbs-devel
mailing list