mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
feat(web): show download size (#3270)
* feat(web): show download size * chore: never over 100% * chore: use percentage * fix: unselect assets before download finishes
This commit is contained in:
parent
81e07fda08
commit
382341f550
7 changed files with 99 additions and 42 deletions
|
|
@ -35,12 +35,7 @@
|
|||
});
|
||||
|
||||
const downloadAssets = async () => {
|
||||
await downloadArchive(
|
||||
`immich-shared.zip`,
|
||||
{ assetIds: assets.map((asset) => asset.id) },
|
||||
undefined,
|
||||
sharedLink.key,
|
||||
);
|
||||
await downloadArchive(`immich-shared.zip`, { assetIds: assets.map((asset) => asset.id) }, sharedLink.key);
|
||||
};
|
||||
|
||||
const handleUploadAssets = async (files: File[] = []) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue