mirror of
git://git.proxmox.com/git/proxmox-backup.git
synced 2025-01-10 01:18:06 +03: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) {
|
||||
if (!value) return `- (${gettext('Local')})`;
|
||||
if (!value) {
|
||||
return `- (${gettext('Local')})`;
|
||||
}
|
||||
return Ext.String.htmlEncode(value);
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user