mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-25 10:10:14 +00:00
ui: dont show '__default__' in renderer
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 <d.csapak@proxmox.com>
This commit is contained in:
parent
04f27b64d9
commit
a8e22a83ab
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user