with the recent rework of the render/maps/arrays, we now show 'Default (__default__)'. Since '__default__' is only an internal value in the gui, don't expose it by explicitely checking for it
in the other render functions it works already because we either construct the text differently (console_map) or we check the result from parsing (vga_driver) Signed-off-by: Dominik Csapak <[email protected]> --- 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 f13a7dec..4611ff0f 100644 --- a/www/manager6/Utils.js +++ b/www/manager6/Utils.js @@ -599,7 +599,7 @@ Ext.define('PVE.Utils', { }, render_kvm_language: function(value) { - if (!value) { + if (!value || value === '__default__') { return Proxmox.Utils.defaultText; } let text = PVE.Utils.kvm_keymaps[value]; -- 2.30.2 _______________________________________________ pve-devel mailing list [email protected] https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
