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

pull/12365/head
Alex 2024-09-05 10:37:14 +07:00 committed by GitHub
parent d7d3b8dfec
commit dfcdaefa22
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 5 deletions

@ -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'));
}