diff --git a/frontend/src/AddSeries/ImportSeries/Import/ImportSeriesRow.tsx b/frontend/src/AddSeries/ImportSeries/Import/ImportSeriesRow.tsx index 508d5a145..5e6680001 100644 --- a/frontend/src/AddSeries/ImportSeries/Import/ImportSeriesRow.tsx +++ b/frontend/src/AddSeries/ImportSeries/Import/ImportSeriesRow.tsx @@ -75,11 +75,6 @@ function ImportSeriesRow({ id }: ImportSeriesRowProps) { [selectDispatch] ); - console.info( - '\x1b[36m[MarkTest] is selected\x1b[0m', - selectState.selectedState[id] - ); - return ( <> { - if (seriesIndex === -1 && previousIndex !== -1) { + if ( + seriesIndex === -1 && + previousIndex !== -1 && + previousIndex !== undefined + ) { history.push(`${window.Sonarr.urlBase}/`); } }, [seriesIndex, previousIndex, history]);