ui: panel/NotesView: eslint fixes

Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
This commit is contained in:
Dominic Jäger 2021-05-19 12:56:20 +02:00 committed by Thomas Lamprecht
parent 202298c10b
commit 193df2f373

View File

@ -15,8 +15,8 @@ Ext.define('PVE.panel.NotesView', {
{ {
text: gettext('Edit'), text: gettext('Edit'),
handler: function() { handler: function() {
var me = this.up('panel'); let view = this.up('panel');
me.run_editor(); view.run_editor();
}, },
}, },
], ],
@ -70,8 +70,8 @@ Ext.define('PVE.panel.NotesView', {
tools: [{ tools: [{
type: 'gear', type: 'gear',
handler: function() { handler: function() {
var me = this.up('panel'); let view = this.up('panel');
me.run_editor(); view.run_editor();
}, },
}], }],