fix(web): auth on navigation from shared link to timeline (#12385)

This commit is contained in:
Michel Heusschen
2024-09-06 15:15:48 +02:00
committed by GitHub
parent aa0097bde2
commit 9fc30d6bf6
3 changed files with 14 additions and 1 deletions

View File

@@ -71,6 +71,8 @@
}
beforeNavigate(({ from, to }) => {
setKey(isSharedLinkRoute(to?.route.id) ? to?.params?.key : undefined);
if (isAssetViewerRoute(from) && isAssetViewerRoute(to)) {
return;
}