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:
Dominik Csapak 2016-12-05 11:04:11 +01:00 committed by Dietmar Maurer
parent 7da29e0613
commit c825e1d034

View File

@ -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')
}
]
});