ui: tape: fix eslint warnings

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2021-03-01 14:13:41 +01:00 committed by Dietmar Maurer
parent 6682461d88
commit e8bf4f31f2
2 changed files with 2 additions and 2 deletions

View File

@ -187,7 +187,7 @@ Ext.define('PBS.TapeManagement.DrivePanel', {
dataIndex: 'changer-drivenum',
renderer: function(value, mD, record) {
return record.data.changer ? value : '';
}
},
},
{
text: gettext('Actions'),

View File

@ -33,7 +33,7 @@ Ext.define('PBS.TapeManagement.BackupJobEdit', {
let me = this;
if (values['export-media-set'] && !me.up('pbsTapeBackupJobEdit').isCreate) {
Proxmox.Utils.assemble_field_data(values, { delete: 'eject-media' });
Proxmox.Utils.assemble_field_data(values, { "delete": 'eject-media' });
}
return values;
},