Skip to content

Commit 9a9d64a

Browse files
authored
fix(web): leave assets selected after add to album (#12537)
1 parent 02047a0 commit 9a9d64a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: web/src/lib/components/photos-page/actions/add-to-album.svelte

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
1212
let showAlbumPicker = false;
1313
14-
const { getAssets, clearSelect } = getAssetControlContext();
14+
const { getAssets } = getAssetControlContext();
1515
1616
const handleHideAlbumPicker = () => {
1717
showAlbumPicker = false;
@@ -28,7 +28,6 @@
2828
showAlbumPicker = false;
2929
const assetIds = [...getAssets()].map((asset) => asset.id);
3030
await addAssetsToAlbum(album.id, assetIds);
31-
clearSelect();
3231
};
3332
</script>
3433

0 commit comments

Comments
 (0)