mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 21:13:28 -07:00
Episode details summary has access to series now
This commit is contained in:
parent
8e2364966a
commit
b1fa306223
4 changed files with 12 additions and 5 deletions
|
@ -36,9 +36,8 @@ define(
|
|||
initialize: function (options) {
|
||||
this.templateHelpers.hideSeriesLink = options.hideSeriesLink;
|
||||
|
||||
var series = SeriesCollection.find({ id: this.model.get('seriesId') });
|
||||
this.templateHelpers.series = series.toJSON();
|
||||
var test = 1;
|
||||
this.series = SeriesCollection.find({ id: this.model.get('seriesId') });
|
||||
this.templateHelpers.series = this.series.toJSON();
|
||||
},
|
||||
|
||||
onShow: function () {
|
||||
|
@ -53,7 +52,7 @@ define(
|
|||
}
|
||||
|
||||
this.ui.summary.tab('show');
|
||||
this.summary.show(new SummaryLayout({model: this.model}));
|
||||
this.summary.show(new SummaryLayout({model: this.model, series: this.series}));
|
||||
},
|
||||
|
||||
_showActivity: function (e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue