You've already forked immich
mirror of
https://github.com/immich-app/immich.git
synced 2025-06-16 03:40:33 +02:00
fix(web): Prevents nav loop from person->album->albums (#4522)
This commit is contained in:
@ -94,7 +94,7 @@
|
|||||||
url = from.url.href;
|
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;
|
url = AppRoute.ALBUMS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user