mirror of
https://github.com/immich-app/immich.git
synced 2026-03-26 11:50:53 +03:00
fix(web): preserve album scroll when adding to other albums (#27078)
This commit is contained in:
@@ -287,7 +287,11 @@
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const onAlbumAddAssets = async () => {
|
const onAlbumAddAssets = async ({ albumIds }: { albumIds: string[] }) => {
|
||||||
|
if (!albumIds.includes(album.id)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
await refreshAlbum();
|
await refreshAlbum();
|
||||||
timelineInteraction.clearMultiselect();
|
timelineInteraction.clearMultiselect();
|
||||||
await setModeToView();
|
await setModeToView();
|
||||||
|
|||||||
Reference in New Issue
Block a user