mirror of
https://github.com/immich-app/immich.git
synced 2025-05-24 01:12:58 -04:00
fix(web): Prevents nav loop from person->album->albums (#4522)
This commit is contained in:
parent
decfb9687b
commit
5156d76194
@ -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…
x
Reference in New Issue
Block a user