mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
updated history/missing layout to use collection sync events.
This commit is contained in:
@@ -74,16 +74,17 @@ define(
|
||||
}));
|
||||
},
|
||||
|
||||
onShow: function () {
|
||||
var self = this;
|
||||
|
||||
this.missing.show(new LoadingView());
|
||||
|
||||
initialize: function () {
|
||||
this.missingCollection = new MissingCollection();
|
||||
this.missingCollection.fetch().done(function () {
|
||||
self._showTable();
|
||||
});
|
||||
|
||||
this.listenTo(this.missingCollection, 'sync', this._showTable);
|
||||
},
|
||||
|
||||
|
||||
onShow: function () {
|
||||
this.missing.show(new LoadingView());
|
||||
this.missingCollection.fetch();
|
||||
this._showToolbar();
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user