Fixed a cosmetic issue where in the VM creation wizard the SCSI controller would not be displayed correctly if the default value "Default (LSI 53C895A)" was selected. In this case, "__default__" would be printed for the user in the next pane.
Signed-off-by: Daniel Tschlatscher <d.tschlatsc...@proxmox.com> --- www/manager6/Utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/manager6/Utils.js b/www/manager6/Utils.js index b4e2df79..8276e95c 100644 --- a/www/manager6/Utils.js +++ b/www/manager6/Utils.js @@ -508,7 +508,7 @@ Ext.define('PVE.Utils', { render_as_property_string: v => !v ? Proxmox.Utils.defaultText : PVE.Parser.printPropertyString(v), render_scsihw: function(value) { - if (!value) { + if (!value || value === '__default__') { return Proxmox.Utils.defaultText + ' (LSI 53C895A)'; } else if (value === 'lsi') { return 'LSI 53C895A'; -- 2.30.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel