fix(web): preserve album scroll when adding to other albums (#27078)

This commit is contained in:
Michel Heusschen 2026-03-20 15:42:19 +01:00 committed by GitHub
parent b7c4497dfd
commit 9a0c17fdb8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -287,7 +287,11 @@
}
};
const onAlbumAddAssets = async () => {
const onAlbumAddAssets = async ({ albumIds }: { albumIds: string[] }) => {
if (!albumIds.includes(album.id)) {
return;
}
await refreshAlbum();
timelineInteraction.clearMultiselect();
await setModeToView();