ui: tape/BackupOverview: expand pools by default

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@proxmox.com>
This commit is contained in:
Dominik Csapak 2021-05-26 15:48:03 +02:00 committed by Thomas Lamprecht
parent c24cb13382
commit 927ebc702c
1 changed files with 1 additions and 0 deletions

View File

@ -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,
});