]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: vm/options: use 'none' if no spice enhancement is set
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 7 Oct 2019 14:21:44 +0000 (16:21 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 7 Oct 2019 14:21:46 +0000 (16:21 +0200)
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>
www/manager6/Utils.js

index 84e45b2123f83062d055d046965e170ee2b4bf53..47f9d297586f70415b7585602df2fe2a11fe5c1e 100644 (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 = [];