mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-24 18:36:50 +00:00
ui: backup job detail view: simplify node renderer
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
1226f0baa8
commit
3f85cce836
@ -606,13 +606,7 @@ Ext.define('PVE.dc.BackupInfo', {
|
||||
xtype: 'displayfield',
|
||||
name: 'node',
|
||||
fieldLabel: gettext('Node'),
|
||||
renderer: function(value) {
|
||||
if (!value) {
|
||||
return '-- ' + gettext('All') + ' --';
|
||||
} else {
|
||||
return value;
|
||||
}
|
||||
},
|
||||
renderer: value => value || `-- ${gettext('All')} --`,
|
||||
},
|
||||
{
|
||||
xtype: 'displayfield',
|
||||
|
Loading…
Reference in New Issue
Block a user