1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-28 09:33:27 +02:00

fix(web): leave assets selected after add to album (#12537)

This commit is contained in:
Jason Rasmussen 2024-09-10 00:18:31 -04:00 committed by GitHub
parent 02047a0104
commit 9a9d64acd7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,7 +11,7 @@
let showAlbumPicker = false;
const { getAssets, clearSelect } = getAssetControlContext();
const { getAssets } = getAssetControlContext();
const handleHideAlbumPicker = () => {
showAlbumPicker = false;
@ -28,7 +28,6 @@
showAlbumPicker = false;
const assetIds = [...getAssets()].map((asset) => asset.id);
await addAssetsToAlbum(album.id, assetIds);
clearSelect();
};
</script>