Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Lidarr/commit/95609913270e0b8678be5c848292d03a2f2e03e8
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
10 additions and
5 deletions
@ -118,6 +118,7 @@ function RemoveQueueItemModal(props: RemoveQueueItemModalProps) {
{
key : 'blocklistAndSearch' ,
value : translate ( 'BlocklistAndSearch' ) ,
isDisabled : isPending ,
hint : multipleSelected
? translate ( 'BlocklistAndSearchMultipleHint' )
: translate ( 'BlocklistAndSearchHint' ) ,
@ -130,7 +131,7 @@ function RemoveQueueItemModal(props: RemoveQueueItemModalProps) {
: translate ( 'BlocklistOnlyHint' ) ,
} ,
] ;
} , [ multipleSelected] ) ;
} , [ isPending, multipleSelected] ) ;
const handleRemovalMethodChange = useCallback (
( { value } : { value : RemovalMethod } ) = > {
@ -71,7 +71,7 @@ namespace Lidarr.Api.V1.Queue
if ( pendingRelease ! = null )
{
Remove ( pendingRelease );
Remove ( pendingRelease , blocklist );
return ;
}
@ -114,7 +114,7 @@ namespace Lidarr.Api.V1.Queue
foreach ( var pendingRelease in pendingToRemove . DistinctBy ( p = > p . Id ) )
{
Remove ( pendingRelease );
Remove ( pendingRelease , blocklist );
}
foreach ( var trackedDownload in trackedToRemove . DistinctBy ( t = > t . DownloadItem . DownloadId ) )
@ -263,9 +263,13 @@ namespace Lidarr.Api.V1.Queue
}
}
private void Remove ( NzbDrone . Core . Queue . Queue pendingRelease )
private void Remove ( NzbDrone . Core . Queue . Queue pendingRelease , bool blocklist )
{
_blocklistService . Block ( pendingRelease . RemoteAlbum , "Pending release manually blocklisted" ) ;
if ( blocklist )
{
_blocklistService . Block ( pendingRelease . RemoteAlbum , "Pending release manually blocklisted" ) ;
}
_pendingReleaseService . RemovePendingQueueItems ( pendingRelease . Id ) ;
}