Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Readarr/blame/commit/5a90c646bdebdb33e28e0e61ec6833761e3acd76/UI/Calendar/Collection.js
You should set ROOT_URL correctly, otherwise the web may not work correctly.
|
|
|
|
"use strict";
|
|
|
|
|
define(['app', 'Series/EpisodeModel'], function () {
|
|
|
|
|
NzbDrone.Calendar.Collection = Backbone.Collection.extend({
|
|
|
|
|
url : NzbDrone.Constants.ApiRoot + '/calendar',
|
|
|
|
|
model : NzbDrone.Series.EpisodeModel,
|
|
|
|
|
|
|
|
|
|
comparator: function(model) {
|
|
|
|
|
var date = new Date(model.get('airDate'));
|
|
|
|
|
var time = date.getTime();
|
|
|
|
|
return time;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
});
|