fix(web): navigate to album from search (#5241)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user