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 <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2021-04-30 11:46:42 +02:00 committed by Dietmar Maurer
parent 9348544e46
commit 10f788b7eb

View File

@ -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,