mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-27 09:25:58 +00:00
ui: utils: refactor render_as_property_string
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
fcb267e361
commit
afa725cd9c
@ -505,10 +505,7 @@ Ext.define('PVE.Utils', {
|
||||
return PVE.Parser.printPropertyString(value);
|
||||
}
|
||||
},
|
||||
render_as_property_string: function(value) {
|
||||
return !value ? Proxmox.Utils.defaultText
|
||||
: PVE.Parser.printPropertyString(value);
|
||||
},
|
||||
render_as_property_string: v => !v ? Proxmox.Utils.defaultText : PVE.Parser.printPropertyString(v),
|
||||
|
||||
render_scsihw: function(value) {
|
||||
if (!value) {
|
||||
|
Loading…
Reference in New Issue
Block a user