[pbs-devel] [PATCH proxmox-backup 2/3] ui: tape/TapeInventory: show expired status
Dominik Csapak
d.csapak at proxmox.com
Tue Feb 9 15:40:43 CET 2021
this is saved in a separate property, but show in status like
'proxmox-tape media list'
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/tape/TapeInventory.js | 3 +++
1 file changed, 3 insertions(+)
diff --git a/www/tape/TapeInventory.js b/www/tape/TapeInventory.js
index ba968752..ed45ab88 100644
--- a/www/tape/TapeInventory.js
+++ b/www/tape/TapeInventory.js
@@ -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,
},
],
--
2.20.1
More information about the pbs-devel
mailing list