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
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ Ext.define('PBS.TapeManagement.ChangerStatus', {
return `${url}/${encodeURIComponent(drive)}/${apiCall}`; return `${url}/${encodeURIComponent(drive)}/${apiCall}`;
}, },
items: [ items: [
label !== undefined ? { label !== "" ? {
xtype: 'displayfield', xtype: 'displayfield',
name: 'label-text', name: 'label-text',
value: label, value: label,