[pve-devel] [PATCH manager 3/5] ui: panel/NotesView: eslint fixes

Dominic Jäger d.jaeger at proxmox.com
Wed May 19 12:56:20 CEST 2021


Signed-off-by: Dominic Jäger <d.jaeger at proxmox.com>
---
 www/manager6/panel/NotesView.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/www/manager6/panel/NotesView.js b/www/manager6/panel/NotesView.js
index 18dd8876..a40cb7d5 100644
--- a/www/manager6/panel/NotesView.js
+++ b/www/manager6/panel/NotesView.js
@@ -15,8 +15,8 @@ Ext.define('PVE.panel.NotesView', {
 	    {
 		text: gettext('Edit'),
 		handler: function() {
-		    var me = this.up('panel');
-		    me.run_editor();
+		    let view = this.up('panel');
+		    view.run_editor();
 		},
 	    },
 	],
@@ -70,8 +70,8 @@ Ext.define('PVE.panel.NotesView', {
     tools: [{
 	type: 'gear',
 	handler: function() {
-	    var me = this.up('panel');
-	    me.run_editor();
+	    let view = this.up('panel');
+	    view.run_editor();
 	},
     }],
 
-- 
2.20.1





More information about the pve-devel mailing list