ui: config panel: xtype should be first property

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-01-10 13:44:03 +01:00
parent 8538f6f0b9
commit 7a6de7fecc

View File

@ -211,10 +211,10 @@ Ext.define('PVE.panel.Config', {
me.items = me.items || []; me.items = me.items || [];
if (me.showSearch) { if (me.showSearch) {
me.items.unshift({ me.items.unshift({
xtype: 'pveResourceGrid',
itemId: 'search', itemId: 'search',
title: gettext('Search'), title: gettext('Search'),
iconCls: 'fa fa-search', iconCls: 'fa fa-search',
xtype: 'pveResourceGrid',
pveSelNode: me.pveSelNode, pveSelNode: me.pveSelNode,
}); });
} }