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:
Dominik Csapak 2021-02-09 15:40:43 +01:00 committed by Dietmar Maurer
parent 3ddbab6193
commit c0b3d09236

View File

@ -98,6 +98,9 @@ Ext.define('PBS.TapeManagement.TapeInventory', {
{
text: gettext('Status'),
dataIndex: 'status',
renderer: function(value, mD, record) {
return record.data.expired ? 'expired' : value;
},
flex: 1,
},
],