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:
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 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);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue