mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
fix(web): restore album drag and drop upload (#1933)
This commit is contained in:
parent
96d75c9ad4
commit
2ac54ce4bd
1 changed files with 2 additions and 1 deletions
|
|
@ -10,7 +10,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
const filesArray: File[] = Array.from<File>(files);
|
const filesArray: File[] = Array.from<File>(files);
|
||||||
const albumId = ($page.route.id === '/albums/[albumId]' || undefined) && $page.params.albumId;
|
const albumId =
|
||||||
|
($page.route.id === '/(user)/albums/[albumId]' || undefined) && $page.params.albumId;
|
||||||
|
|
||||||
await fileUploadHandler(filesArray, albumId);
|
await fileUploadHandler(filesArray, albumId);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue