[pbs-devel] [PATCH proxmox-backup 2/2] ui: tape: fix eslint warnings

Dominik Csapak d.csapak at proxmox.com
Mon Mar 1 14:13:41 CET 2021


Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/tape/DriveConfig.js          | 2 +-
 www/tape/window/TapeBackupJob.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/tape/DriveConfig.js b/www/tape/DriveConfig.js
index 4845a8bc..0dfd2b89 100644
--- a/www/tape/DriveConfig.js
+++ b/www/tape/DriveConfig.js
@@ -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'),
diff --git a/www/tape/window/TapeBackupJob.js b/www/tape/window/TapeBackupJob.js
index 7cd3e462..e7f89d69 100644
--- a/www/tape/window/TapeBackupJob.js
+++ b/www/tape/window/TapeBackupJob.js
@@ -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;
 	},
-- 
2.20.1






More information about the pbs-devel mailing list