mirror of
https://github.com/Radarr/Radarr
synced 2025-02-28 08:55:51 +00:00
Refresh status when series is refreshed
This commit is contained in:
parent
bcad6e538d
commit
5ca00ef694
1 changed files with 6 additions and 1 deletions
|
@ -136,7 +136,7 @@ define(
|
||||||
this.listenTo(this.model, 'sync', this._afterSeasonMonitored);
|
this.listenTo(this.model, 'sync', this._afterSeasonMonitored);
|
||||||
this.listenTo(this.episodeCollection, 'sync', this.render);
|
this.listenTo(this.episodeCollection, 'sync', this.render);
|
||||||
|
|
||||||
this.listenTo(this.fullEpisodeCollection, 'sync', this._updateEpisodeCollection);
|
this.listenTo(this.fullEpisodeCollection, 'sync', this._refreshEpsiodes);
|
||||||
},
|
},
|
||||||
|
|
||||||
onRender: function () {
|
onRender: function () {
|
||||||
|
@ -300,6 +300,11 @@ define(
|
||||||
this.episodeCollection.each(function (model) {
|
this.episodeCollection.each(function (model) {
|
||||||
model.episodeCollection = self.episodeCollection;
|
model.episodeCollection = self.episodeCollection;
|
||||||
});
|
});
|
||||||
|
},
|
||||||
|
|
||||||
|
_refreshEpsiodes: function () {
|
||||||
|
this._updateEpisodeCollection();
|
||||||
|
this.render();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue