Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Prowlarr/src/commit/57fdbe6e08ddfb14c6fa3910c3884b05fa600c12/UI/Calendar/UpcomingItemView.js You should set ROOT_URL correctly, otherwise the web may not work correctly.
Prowlarr/UI/Calendar/UpcomingItemView.js

32 lines
870 B

'use strict';
define(
[
'app',
'marionette',
'moment'
], function (App, Marionette, Moment) {
return Marionette.ItemView.extend({
template: 'Calendar/UpcomingItemViewTemplate',
tagName : 'div',
events: {
'click .x-episode-title': '_showEpisodeDetails'
},
initialize: function () {
var start = this.model.get('airDateUtc');
var runtime = this.model.get('series').runtime;
var end = Moment(start).add('minutes', runtime);
this.model.set({
end: end.toISOString()
})
},
_showEpisodeDetails: function () {
App.vent.trigger(App.Commands.ShowEpisodeDetails, {episode: this.model});
}
});
});