]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: dc: add comment to odd condition for showing SDN
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 24 Aug 2021 09:13:13 +0000 (11:13 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 24 Aug 2021 09:13:28 +0000 (11:13 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/dc/Config.js

index a8dcb74ebfa7281960c7721254aaec5200908dae..934952d9a39a21c00462865a0881688f30c24aac 100644 (file)
@@ -144,6 +144,8 @@ Ext.define('PVE.dc.Config', {
                xtype: 'pveFencingView',
                itemId: 'ha-fencing',
            });
+           // always show on initial load, will be hiddea later if the SDN API calls don't exist,
+           // else it won't be shown at first if the user initially loads with DC selected
            if (PVE.SDNInfo || PVE.SDNInfo === undefined) {
                me.items.push({
                    xtype: 'pveSDNStatus',