Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Prowlarr/blame/commit/b07bc713bb8574f8d7672c797360c66ff1f68817/UI/Settings/Notifications/SchemaModal.js
You should set ROOT_URL correctly, otherwise the web may not work correctly.
|
|
|
|
'use strict';
|
|
|
|
|
define([
|
|
|
|
|
'app',
|
|
|
|
|
'Settings/Notifications/Collection',
|
|
|
|
|
'Settings/Notifications/AddView'
|
|
|
|
|
], function (App, NotificationCollection, AddSelectionNotificationView) {
|
|
|
|
|
return ({
|
|
|
|
|
|
|
|
|
|
open: function (collection) {
|
|
|
|
|
var schemaCollection = new NotificationCollection();
|
|
|
|
|
schemaCollection.url = '/api/notification/schema';
|
|
|
|
|
schemaCollection.fetch();
|
|
|
|
|
schemaCollection.url = '/api/notification';
|
|
|
|
|
|
|
|
|
|
var view = new AddSelectionNotificationView({ collection: schemaCollection, notificationCollection: collection});
|
|
|
|
|
App.modalRegion.show(view);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
});
|