mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00: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:
parent
3ec74444b0
commit
ab86d0a18d
21 changed files with 646 additions and 919 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue