We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aba7790 + c05ebec commit eb50977Copy full SHA for eb50977
app/code/Magento/Ui/view/base/web/js/grid/provider.js
@@ -43,6 +43,10 @@ define([
43
.initStorage()
44
.clearData();
45
46
+ // Load data when there will
47
+ // be no more pending assets.
48
+ resolver(this.reload, this);
49
+
50
return this;
51
},
52
@@ -122,9 +126,11 @@ define([
122
126
* Handles changes of 'params' object.
123
127
*/
124
128
onParamsChange: function () {
125
- this.firstLoad ?
- resolver(this.reload, this) :
129
+ // It's necessary to make a reload only
130
+ // after the initial loading has been made.
131
+ if (!this.firstLoad) {
132
this.reload();
133
+ }
134
135
136
/**
0 commit comments