ui: select tree item from history url on initial load
or fallback to dashboard Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
84b9eced26
commit
9710e5d00e
@ -135,6 +135,11 @@ Ext.define('PBS.MainView', {
|
|||||||
},
|
},
|
||||||
interval: 15*60*1000
|
interval: 15*60*1000
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
// select treeitem and load page from url fragment, if set
|
||||||
|
let token = Ext.util.History.getToken() || 'pbsDashboard';
|
||||||
|
this.redirectTo(token, true);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user