pve-manager/www/manager6/sdn/Status.js
Thomas Lamprecht f6710aac38 ui: eslint: fix trailing comma and comma related whitespaces errors
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-01-19 17:31:03 +01:00

39 lines
765 B
JavaScript

Ext.define('PVE.sdn.Status', {
extend: 'Ext.panel.Panel',
alias: 'widget.pveSDNStatus',
onlineHelp: 'chapter_pvesdn',
layout: {
type: 'vbox',
align: 'stretch',
},
initComponent: function() {
var me = this;
me.rstore = Ext.create('Proxmox.data.ObjectStore', {
interval: me.interval,
model: 'pve-sdn-status',
storeid: 'pve-store-' + (++Ext.idSeed),
groupField: 'type',
proxy: {
type: 'proxmox',
url: '/api2/json/cluster/resources',
},
});
me.items = [{
xtype: 'pveSDNStatusView',
title: gettext('Status'),
rstore: me.rstore,
border: 0,
collapsible: true,
padding: '0 0 20 0',
}];
me.callParent();
me.on('activate', me.rstore.startUpdate);
},
});