fix(web): restore album drag and drop upload (#1933)
This commit is contained in:
1 parent
96d75c9ad4
commit
2ac54ce4bd
1 file changed
+2
-1
@@ -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);
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user