Fix tracker redirection on non logged in trackers

Incorrectly routed to the tracker oauth page which then just redirected to the tracker settings page.

Missed occurrences in 765799b236
This commit is contained in:
schroda
2025-10-11 18:14:01 +02:00
parent f539afb404
commit b5c730d3db
2 changed files with 2 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ export const BackupValidationDialog = ({
<Button
onClick={onCancel}
component={Link}
to={AppRoutes.tracker.path}
to={AppRoutes.settings.childRoutes.tracking.path}
autoFocus={!!validationResult?.missingTrackers.length}
variant={validationResult?.missingTrackers.length ? 'contained' : 'text'}
>

View File

@@ -40,7 +40,7 @@ export const TrackMangaButton = ({ manga }: { manga: MangaTrackRecordInfo & Pick
}
if (!loggedInTrackers.length) {
navigate(AppRoutes.tracker.path);
navigate(AppRoutes.settings.childRoutes.tracking.path);
return;
}