fix(web): navigate to album from search (#5241)

This commit is contained in:
Jason Rasmussen
2023-11-22 10:54:58 -05:00
committed by GitHub
parent 106bae4a31
commit 309ba7d67e
3 changed files with 8 additions and 3 deletions
@@ -121,7 +121,7 @@
afterNavigate(({ from }) => {
assetViewingStore.showAssetViewer(false);
let url: string | undefined = from?.url.pathname;
let url: string | undefined = from?.url?.pathname;
if (from?.route.id === '/(user)/search') {
url = from.url.href;