]> git.proxmox.com Git - pve-manager.git/blobdiff - www/manager6/Utils.js
ui: dc/options: allow to edit HA shutdown policy
[pve-manager.git] / www / manager6 / Utils.js
index 2d056d3cd3d13779bf909d60869f0bbf979c37a0..5b58395f9ce9386daca610b813ba0b0bec2b89eb 100644 (file)
@@ -244,6 +244,14 @@ Ext.define('PVE.Utils', { utilities: {
        }
     },
 
+    render_dc_ha_opts: function(value) {
+       if (!value) {
+           return Proxmox.Utils.defaultText + ' (conditional)';
+       } else {
+           return PVE.Parser.printPropertyString(value);
+       }
+    },
+
     render_scsihw: function(value) {
        if (!value) {
            return Proxmox.Utils.defaultText + ' (LSI 53C895A)';