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:
parent
86b95e11cc
commit
8990d6da22
@ -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 = [];
|
||||
|
Loading…
Reference in New Issue
Block a user