mirror of
https://github.com/samsonjs/immich.git
synced 2026-04-27 15:07:45 +00:00
fix: prevent loop on search (#5664)
This commit is contained in:
parent
a0b2cbe123
commit
7a9a9473d1
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue