From c0b3d092366919f2ad174b16f1089a5185231d48 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Tue, 9 Feb 2021 15:40:43 +0100 Subject: [PATCH] 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 --- 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, }, ],