quranatine view: make navtree more like main navtree

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-07-03 22:48:23 +02:00
parent 13f8df5c6c
commit 3d233789a6

View File

@ -249,17 +249,31 @@ Ext.define('PMG.QuarantineView', {
], ],
}, },
{ {
xtype: 'quarantinenavigationtree', xtype: 'panel',
reference: 'navtree', scrollable: 'y',
minWidth: 177,
border: false, border: false,
region: 'west', region: 'west',
// we have to define it here until extjs 6.2 layout: {
// because of a bug where a viewcontroller does not detect type: 'vbox',
// the selectionchange event of a treelist align: 'stretch',
listeners: {
selectionchange: 'navigate',
}, },
items: [
{
xtype: 'quarantinenavigationtree',
reference: 'navtree',
minWidth: 180,
// we have to define it here until extjs 6.2 because of a bug where a
// viewcontroller does not detect the selectionchange event of a treelist
listeners: {
selectionchange: 'navigate',
},
},
{
xtype: 'box',
cls: 'x-treelist-pve-nav',
flex: 1,
},
],
}, },
{ {
xtype: 'panel', xtype: 'panel',