From 10f788b7eb25c0324685e2d804ce55f03066f5b5 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Fri, 30 Apr 2021 11:46:42 +0200 Subject: [PATCH] ui: tape: ChangerStatus fixup for empty barcode empty barcode means that label-text is '', not undefined we forgot this line Signed-off-by: Dominik Csapak --- www/tape/ChangerStatus.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/tape/ChangerStatus.js b/www/tape/ChangerStatus.js index f4bcc631..51ba6ffa 100644 --- a/www/tape/ChangerStatus.js +++ b/www/tape/ChangerStatus.js @@ -224,7 +224,7 @@ Ext.define('PBS.TapeManagement.ChangerStatus', { return `${url}/${encodeURIComponent(drive)}/${apiCall}`; }, items: [ - label !== undefined ? { + label !== "" ? { xtype: 'displayfield', name: 'label-text', value: label,