},
});
- var vmidStore = (me.vmid) ? {} : {
+ var vmidStore = me.vmid ? {} : {
model: 'PVEResources',
autoLoad: true,
sorters: 'vmid',
xtype: me.vmid ? 'displayfield' : 'vmComboSelector',
submitValue: me.isCreate,
name: 'vmid',
- fieldLabel: (me.vmid && me.guestType === 'ct') ? 'CT' : 'VM',
+ fieldLabel: me.vmid && me.guestType === 'ct' ? 'CT' : 'VM',
value: me.vmid,
store: vmidStore,
validateExists: true,