mirror of
https://github.com/immich-app/immich.git
synced 2025-05-31 12:15:47 -04:00
fix(web): showing album timeline after adding new assets (#12354)
This commit is contained in:
parent
d7d3b8dfec
commit
dfcdaefa22
@ -298,11 +298,7 @@
|
|||||||
await refreshAlbum();
|
await refreshAlbum();
|
||||||
|
|
||||||
timelineInteractionStore.clearMultiselect();
|
timelineInteractionStore.clearMultiselect();
|
||||||
viewMode = ViewMode.VIEW;
|
await setModeToView();
|
||||||
await navigate(
|
|
||||||
{ targetRoute: 'current', assetId: null, assetGridRouteSearchParams: $gridScrollTarget },
|
|
||||||
{ replaceState: true, forceNavigate: true },
|
|
||||||
);
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
handleError(error, $t('errors.error_adding_assets_to_album'));
|
handleError(error, $t('errors.error_adding_assets_to_album'));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user