mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-03-01 11:16:26 +00:00
Fixed: error when showing episode list
This commit is contained in:
@@ -8,7 +8,7 @@ define(
|
||||
'History/Queue/QueueCollection',
|
||||
'moment',
|
||||
'Shared/FormatHelpers'
|
||||
], function (Reqres, _, NzbDroneCell, QueueCollection, Moment, FormatHelpers) {
|
||||
], function (reqres, _, NzbDroneCell, QueueCollection, Moment, FormatHelpers) {
|
||||
return NzbDroneCell.extend({
|
||||
|
||||
className: 'episode-status-cell',
|
||||
@@ -33,7 +33,7 @@ define(
|
||||
var hasFile = this.model.get('hasFile');
|
||||
|
||||
if (hasFile) {
|
||||
var episodeFile = Reqres.request(reqres.Requests.GetEpisodeFileById, this.model.get('episodeFileId'));
|
||||
var episodeFile = reqres.request(reqres.Requests.GetEpisodeFileById, this.model.get('episodeFileId'));
|
||||
|
||||
this.listenTo(episodeFile, 'change', this._refresh);
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
|
||||
'use strict';
|
||||
'use strict';
|
||||
define(
|
||||
[
|
||||
'backbone',
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
'use strict';
|
||||
define(
|
||||
[
|
||||
'Backbone',
|
||||
'backbone',
|
||||
'Settings/Notifications/Model'
|
||||
], function (Backbone, NotificationModel) {
|
||||
return Backbone.Collection.extend({
|
||||
|
||||
Reference in New Issue
Block a user