mirror of
https://github.com/immich-app/immich.git
synced 2026-03-22 09:28:00 -04:00
fix(web): preserve album scroll when adding to other albums (#27078)
This commit is contained in:
parent
b7c4497dfd
commit
9a0c17fdb8
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user