mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-29 16:32:24 +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);
|
return PVE.Parser.printPropertyString(value);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
render_as_property_string: function(value) {
|
render_as_property_string: v => !v ? Proxmox.Utils.defaultText : PVE.Parser.printPropertyString(v),
|
||||||
return !value ? Proxmox.Utils.defaultText
|
|
||||||
: PVE.Parser.printPropertyString(value);
|
|
||||||
},
|
|
||||||
|
|
||||||
render_scsihw: function(value) {
|
render_scsihw: function(value) {
|
||||||
if (!value) {
|
if (!value) {
|
||||||
|
Loading…
Reference in New Issue
Block a user