mirror of
https://github.com/immich-app/immich.git
synced 2025-01-01 08:31:59 +00:00
fix(web): Prevents nav loop from person->album->albums (#4522)
This commit is contained in:
parent
decfb9687b
commit
5156d76194
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@
|
|||
url = from.url.href;
|
||||
}
|
||||
|
||||
if (from?.route.id === '/(user)/albums/[albumId]') {
|
||||
if (from?.route.id === '/(user)/albums/[albumId]' || from?.route.id === '/(user)/people/[personId]') {
|
||||
url = AppRoute.ALBUMS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue