api viewer: rename gloabl schema variable and tell eslint about it

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-06-02 14:46:32 +02:00
parent 52428d6055
commit 8556628c93

View File

@ -1,3 +1,5 @@
/*global apiSchema*/
Ext.onReady(function() {
Ext.define('pmx-param-schema', {
extend: 'Ext.data.Model',
@ -23,7 +25,7 @@ Ext.onReady(function() {
}),
proxy: {
type: 'memory',
data: pmxapi,
data: apiSchema,
},
sorters: [{
property: 'leaf',