]> git.proxmox.com Git - pmg-gui.git/commitdiff
main view: fix nav tree indentation
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 3 Jul 2021 20:47:02 +0000 (22:47 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 3 Jul 2021 20:47:02 +0000 (22:47 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
js/MainView.js

index cb86ec5b2e7fb04264eeca468a5c58ea33055fd3..4c4f28c5a0f46ccc605482ea53104228ae1fcd8e 100644 (file)
@@ -227,21 +227,23 @@ Ext.define('PMG.MainView', {
                type: 'vbox',
                align: 'stretch',
            },
-           items: [{
-               xtype: 'navigationtree',
-               minWidth: 180,
-               reference: 'navtree',
-               // 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',
+           items: [
+               {
+                   xtype: 'navigationtree',
+                   minWidth: 180,
+                   reference: 'navtree',
+                   // 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: 'box',
+                   cls: 'x-treelist-pve-nav',
+                   flex: 1,
+               },
+           ],
        },
        {
            xtype: 'panel',