mirror of
				https://git.proxmox.com/git/proxmox-widget-toolkit
				synced 2025-11-04 00:55:08 +00:00 
			
		
		
		
	some more eslint fixes
manually adapted after eslint --fix call due to our damn weird indentation scheme Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
		
							parent
							
								
									01031528ad
								
							
						
					
					
						commit
						4f1b9b8c3b
					
				@ -12,7 +12,6 @@ Ext.define('Proxmox.RestProxy', {
 | 
			
		||||
 | 
			
		||||
    afterRequest: function(request, success) {
 | 
			
		||||
	this.fireEvent('afterload', this, request, success);
 | 
			
		||||
	return;
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
    constructor: function(config) {
 | 
			
		||||
 | 
			
		||||
@ -261,9 +261,9 @@ Ext.define('Proxmox.grid.ObjectGrid', {
 | 
			
		||||
	    });
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	var rstore = me.rstore;
 | 
			
		||||
 | 
			
		||||
	var store = Ext.create('Proxmox.data.DiffStore', { rstore: rstore,
 | 
			
		||||
	let rstore = me.rstore;
 | 
			
		||||
	let store = Ext.create('Proxmox.data.DiffStore', {
 | 
			
		||||
	    rstore: rstore,
 | 
			
		||||
	    sorters: [],
 | 
			
		||||
	    filters: [],
 | 
			
		||||
	});
 | 
			
		||||
 | 
			
		||||
@ -10,7 +10,7 @@ Ext.define('Proxmox.Mixin.CBind', {
 | 
			
		||||
    cloneTemplates: function() {
 | 
			
		||||
	var me = this;
 | 
			
		||||
 | 
			
		||||
 	if (typeof me.cbindData == "function") {
 | 
			
		||||
	if (typeof me.cbindData === "function") {
 | 
			
		||||
	    me.cbindData = me.cbindData(me.initialConfig);
 | 
			
		||||
	}
 | 
			
		||||
	me.cbindData = me.cbindData || {};
 | 
			
		||||
@ -21,7 +21,7 @@ Ext.define('Proxmox.Mixin.CBind', {
 | 
			
		||||
	    }
 | 
			
		||||
	    if (cname in me.cbindData) {
 | 
			
		||||
		let res = me.cbindData[cname];
 | 
			
		||||
		if (typeof res == "function") {
 | 
			
		||||
		if (typeof res === "function") {
 | 
			
		||||
		    return res(me.initialConfig);
 | 
			
		||||
		} else {
 | 
			
		||||
		    return res;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user