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

View File

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