diff --git a/www/manager6/Utils.js b/www/manager6/Utils.js index 21153ece..c062b591 100644 --- a/www/manager6/Utils.js +++ b/www/manager6/Utils.js @@ -880,7 +880,7 @@ Ext.define('PVE.Utils', { utilities: { Ext.Msg.alert('Error', response.htmlStatus); }, success: function(response, opts) { - var allowSpice = response.result.data.spice; + var allowSpice = !!response.result.data.spice; PVE.Utils.openDefaultConsoleWindow(allowSpice, 'kvm', vmid, nodename, vmname); } });