Set model loaded even if there is an error so the UI is not loacked

pull/15334/head
alejandraarri 5 years ago
parent 753be7ae06
commit 31c782f73b

@ -51,7 +51,7 @@ module.exports = CoreView.extend({
var self = this;
this.model.fetch({
success: function () {
complete: function () {
self.model.set('loaded', true);
}
});
@ -67,7 +67,7 @@ module.exports = CoreView.extend({
userModel: this._userModel,
configModel: this._configModel
});
this.model.bind('sync', this._generateContent, this);
this.model.bind('change:loaded', this._generateContent, this);
},
_orderImports: function (importOptions) {

Loading…
Cancel
Save