mirror of
https://github.com/immich-app/immich.git
synced 2025-12-21 09:15:44 +03:00
fix: prevent loop on search (#5664)
This commit is contained in:
@@ -76,6 +76,10 @@
|
|||||||
previousRoute = from.url.href;
|
previousRoute = from.url.href;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (from?.route.id === '/(user)/people/[personId]') {
|
||||||
|
previousRoute = AppRoute.PHOTOS;
|
||||||
|
}
|
||||||
|
|
||||||
if (from?.route.id === '/(user)/albums/[albumId]') {
|
if (from?.route.id === '/(user)/albums/[albumId]') {
|
||||||
previousRoute = AppRoute.EXPLORE;
|
previousRoute = AppRoute.EXPLORE;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user