mirror of
https://github.com/immich-app/immich.git
synced 2025-11-14 04:42:42 +09:00
refactor(web): asset select actions (#2444)
* refactor(web): asset select actions * remaining pages/components + data flow changes * fix check
This commit is contained in:
@@ -25,7 +25,7 @@ export const addAssetsToAlbum = async (
|
||||
export async function bulkDownload(
|
||||
fileName: string,
|
||||
assets: AssetResponseDto[],
|
||||
onDone: () => void,
|
||||
onDone?: () => void,
|
||||
key?: string
|
||||
) {
|
||||
const assetIds = assets.map((asset) => asset.id);
|
||||
@@ -63,7 +63,7 @@ export async function bulkDownload(
|
||||
if (isNotComplete && fileCount > 0) {
|
||||
// skip += fileCount;
|
||||
} else {
|
||||
onDone();
|
||||
onDone?.();
|
||||
done = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user