1
0
Fork 0
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:
Russell Tan 2023-10-19 12:36:03 -07:00 committed by GitHub
parent decfb9687b
commit 5156d76194
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}