fix(web): showing album timeline after adding new assets (#12354)

This commit is contained in:
Alex 2024-09-05 10:37:14 -05:00 committed by GitHub
parent d7d3b8dfec
commit dfcdaefa22
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -298,11 +298,7 @@
await refreshAlbum();
timelineInteractionStore.clearMultiselect();
viewMode = ViewMode.VIEW;
await navigate(
{ targetRoute: 'current', assetId: null, assetGridRouteSearchParams: $gridScrollTarget },
{ replaceState: true, forceNavigate: true },
);
await setModeToView();
} catch (error) {
handleError(error, $t('errors.error_adding_assets_to_album'));
}