Skip to content
Snippets Groups Projects
Commit a065ef5b authored by Iryna Lagno's avatar Iryna Lagno
Browse files

Merge branch 'main_develop' into bugs

parents f2dec802 eb50977c
Branches
No related merge requests found
......@@ -43,6 +43,10 @@ define([
.initStorage()
.clearData();
// Load data when there will
// be no more pending assets.
resolver(this.reload, this);
return this;
},
......@@ -122,9 +126,11 @@ define([
* Handles changes of 'params' object.
*/
onParamsChange: function () {
this.firstLoad ?
resolver(this.reload, this) :
// It's necessary to make a reload only
// after the initial loading has been made.
if (!this.firstLoad) {
this.reload();
}
},
/**
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment