]> git.proxmox.com Git - pve-manager.git/commit - www/manager6/Utils.js
ui: dont show '__default__' in renderer
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 26 Apr 2022 07:34:27 +0000 (09:34 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 26 Apr 2022 13:31:11 +0000 (15:31 +0200)
commita8e22a83ab73d783329b95033f45669cd8ecc49f
treefd832022e2750a9518a632e89d39faca7c4d12c2
parent04f27b64d9a366e58ec1af0adfd86ac3ef10e7f8
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>
www/manager6/Utils.js