mirror of
https://github.com/immich-app/immich.git
synced 2025-12-17 09:13:17 +03:00
fix(web): auth on navigation from shared link to timeline (#12385)
This commit is contained in:
@@ -71,6 +71,8 @@
|
||||
}
|
||||
|
||||
beforeNavigate(({ from, to }) => {
|
||||
setKey(isSharedLinkRoute(to?.route.id) ? to?.params?.key : undefined);
|
||||
|
||||
if (isAssetViewerRoute(from) && isAssetViewerRoute(to)) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user