ui: form/DataStoreSelector: show maintenance mode in selector
to not having to query the activeTasks everywhere, change the renderer to omit the check/spinner when no activeTasks are given Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
committed by
Thomas Lamprecht
parent
8af1fa5477
commit
c15b058db7
@ -29,6 +29,15 @@ Ext.define('PBS.form.DataStoreSelector', {
|
||||
renderer: Ext.String.htmlEncode,
|
||||
flex: 1,
|
||||
},
|
||||
{
|
||||
header: gettext('Maintenance'),
|
||||
sortable: true,
|
||||
dataIndex: 'maintenance',
|
||||
renderer: (value) => {
|
||||
return PBS.Utils.renderMaintenance(value);
|
||||
},
|
||||
flex: 1,
|
||||
}
|
||||
],
|
||||
},
|
||||
});
|
||||
|
Reference in New Issue
Block a user