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

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>