fix typo in vmtype check
by mistake we checked if me.vtype is 'qemu' but the property is me.vmtype, so we would always show restart mode note that this error was purely cosmetic, behaviour was correct Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
7da29e0613
commit
c825e1d034
@ -79,7 +79,7 @@ Ext.define('PVE.window.Migrate', {
|
||||
uncheckedValue: 0,
|
||||
defaultValue: 0,
|
||||
checked: running,
|
||||
fieldLabel: me.vtype === 'qemu' ? gettext('Online') : gettext('Restart Mode')
|
||||
fieldLabel: me.vmtype === 'qemu' ? gettext('Online') : gettext('Restart Mode')
|
||||
}
|
||||
]
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user