ui: tape/TapeInventory: show expired status
this is saved in a separate property, but show in status like 'proxmox-tape media list' Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
3ddbab6193
commit
c0b3d09236
|
@ -98,6 +98,9 @@ Ext.define('PBS.TapeManagement.TapeInventory', {
|
||||||
{
|
{
|
||||||
text: gettext('Status'),
|
text: gettext('Status'),
|
||||||
dataIndex: 'status',
|
dataIndex: 'status',
|
||||||
|
renderer: function(value, mD, record) {
|
||||||
|
return record.data.expired ? 'expired' : value;
|
||||||
|
},
|
||||||
flex: 1,
|
flex: 1,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue