1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-01 08:31:59 +00:00

fix(web): restore album drag and drop upload (#1933)

This commit is contained in:
Michel Heusschen 2023-03-04 15:14:02 +01:00 committed by GitHub
parent 96d75c9ad4
commit 2ac54ce4bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,8 @@
}
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);
};