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:
parent
9348544e46
commit
10f788b7eb
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue