ui: vm/options: use 'none' if no spice enhancement is set

to make it more clear that this is not a single option which can be
disabled or enabled, but that it consists of multiple options

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-10-07 16:21:44 +02:00
parent 86b95e11cc
commit 8990d6da22

View File

@ -335,11 +335,9 @@ Ext.define('PVE.Utils', { utilities: {
},
render_spice_enhancements: function(values) {
let disabled = Proxmox.Utils.disabledText;
let props = PVE.Parser.parsePropertyString(values);
if (Ext.Object.isEmpty(props)) {
return disabled;
return Proxmox.Utils.noneText;
}
let output = [];