diff --git a/static/plugin_dbui/src/appgrid.js b/static/plugin_dbui/src/appgrid.js index 632f8f0a34b9bb77faa2779fdfe3f6c51af8424a..7c1b7409c4fb13c0443c5508a33c8df062f383a4 100644 --- a/static/plugin_dbui/src/appgrid.js +++ b/static/plugin_dbui/src/appgrid.js @@ -30,7 +30,10 @@ App.grid.Grid = Ext.extend(Ext.grid.GridPanel, { // initialize the underlying class. DON'T MOVE App.grid.Grid.superclass.initComponent.call(this); - this.store.load(); + // load the store if not yet done + if (this.store.getCount() === 0) { + this.store.load(); + } } });