mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-07 10:39:49 +00:00
initialize Diffstore sorters and filters with empty arrays
ExtJS expect this properties to be arrays of Filters/Sorters objects, but sets them to null setting an empty array here allows to push sorters/filters easily later This fix allows loading the Hardware Tab of the Qemu Panel
This commit is contained in:
parent
6f68dcbedd
commit
c5b0115067
@ -66,7 +66,10 @@ Ext.define('PVE.grid.ObjectGrid', {
|
|||||||
|
|
||||||
var rstore = me.rstore;
|
var rstore = me.rstore;
|
||||||
|
|
||||||
var store = Ext.create('PVE.data.DiffStore', { rstore: rstore, filters: [] });
|
var store = Ext.create('PVE.data.DiffStore', { rstore: rstore,
|
||||||
|
sorters: [],
|
||||||
|
filters: []
|
||||||
|
});
|
||||||
|
|
||||||
if (rows) {
|
if (rows) {
|
||||||
Ext.Object.each(rows, function(key, rowdef) {
|
Ext.Object.each(rows, function(key, rowdef) {
|
||||||
|
Loading…
Reference in New Issue
Block a user