Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/665d536481c3026fd7a274673ee9715f09b04fc4
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
9 additions and
6 deletions
@ -17,7 +17,7 @@ import { updateItem } from './baseActions';
const MONITOR _TIMEOUT = 1000 ;
const seasonsToUpdate = { } ;
let seasonMonitorToggleTimeout = null ;
const seasonMonitorToggleTimeouts = { } ;
//
// Variables
@ -271,16 +271,19 @@ export const actionHandlers = handleThunks({
} ,
[ TOGGLE _SEASON _MONITORED ] : function ( getState , payload , dispatch ) {
if ( seasonMonitorToggleTimeout ) {
seasonMonitorToggleTimeout = clearTimeout ( seasonMonitorToggleTimeout ) ;
}
const {
seriesId : id ,
seasonNumber ,
monitored
} = payload ;
const seasonMonitorToggleTimeout = seasonMonitorToggleTimeouts [ id ] ;
if ( seasonMonitorToggleTimeout ) {
clearTimeout ( seasonMonitorToggleTimeout ) ;
delete seasonMonitorToggleTimeouts [ id ] ;
}
const series = getState ( ) . series . items . find ( ( s ) => s . id === id ) ;
const seasons = _ . cloneDeep ( series . seasons ) ;
const season = seasons . find ( ( s ) => s . seasonNumber === seasonNumber ) ;
@ -296,7 +299,7 @@ export const actionHandlers = handleThunks({
seasonsToUpdate [ seasonNumber ] = monitored ;
season . monitored = monitored ;
seasonMonitorToggleTimeout = setTimeout ( ( ) => {
seasonMonitorToggleTimeout s[ id ] = setTimeout ( ( ) => {
createAjaxRequest ( {
url : ` /series/ ${ id } ` ,
method : 'PUT' ,