mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-08-11 17:57:41 +00:00
ui: avoid single-line if in optional-remote renderer
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
535ca853c2
commit
c884061623
@ -712,7 +712,9 @@ Ext.define('PBS.Utils', {
|
|||||||
},
|
},
|
||||||
|
|
||||||
render_optional_remote: function(value, metadata, record) {
|
render_optional_remote: function(value, metadata, record) {
|
||||||
if (!value) return `- (${gettext('Local')})`;
|
if (!value) {
|
||||||
|
return `- (${gettext('Local')})`;
|
||||||
|
}
|
||||||
return Ext.String.htmlEncode(value);
|
return Ext.String.htmlEncode(value);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user