Skip to content

Commit b115bde

Browse files
committed
neo/examples/stateProvider/Table.mjs invokes onStoreLoad _twice_ ?? #6650
1 parent 42029c4 commit b115bde

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/table/Container.mjs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,7 @@ class Container extends BaseContainer {
311311
};
312312

313313
if (value instanceof Store) {
314-
value.on(listeners);
315-
value.getCount() > 0 && me.onStoreLoad(value.items)
314+
value.on(listeners)
316315
} else {
317316
value = ClassSystemUtil.beforeSetInstance(value, Store, {
318317
listeners
@@ -473,7 +472,7 @@ class Container extends BaseContainer {
473472
* @param {Object[]} data
474473
* @protected
475474
*/
476-
onStoreLoad(data) {
475+
onStoreLoad(data) {console.log(data);
477476
let me = this;
478477

479478
if (me.rendered) {

0 commit comments

Comments
 (0)