Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/src/commit/2263b5873a50208df6e1f510af360904f18d06dc/UI/AddSeries/SearchResultCollectionView.js You should set ROOT_URL correctly, otherwise the web may not work correctly.
Sonarr/UI/AddSeries/SearchResultCollectionView.js

31 lines
728 B

'use strict';
define(
[
'marionette',
'AddSeries/SearchResultView',
], function (Marionette, SearchResultView) {
return Marionette.CollectionView.extend({
itemView: SearchResultView,
initialize: function (options) {
this.isExisting = options.isExisting;
},
showAll: function () {
this.showingAll = true;
this.render();
},
appendHtml: function (collectionView, itemView, index) {
if (!this.isExisting || this.showingAll || index === 0) {
collectionView.$el.append(itemView.el);
}
}
});
});