ui: dc: add comment to odd condition for showing SDN

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-08-24 11:13:13 +02:00
parent 41148dcc33
commit 013cd17be7

View 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',