1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-26 10:50:29 +02:00

fix: prevent loop on search (#5664)

This commit is contained in:
martin 2023-12-12 23:55:18 +01:00 committed by GitHub
parent a0b2cbe123
commit 7a9a9473d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,6 +76,10 @@
previousRoute = from.url.href;
}
if (from?.route.id === '/(user)/people/[personId]') {
previousRoute = AppRoute.PHOTOS;
}
if (from?.route.id === '/(user)/albums/[albumId]') {
previousRoute = AppRoute.EXPLORE;
}