diff --git a/src/blossom-drive-client/Upload.ts b/src/blossom-drive-client/Upload.ts index cd95e2f..3198655 100644 --- a/src/blossom-drive-client/Upload.ts +++ b/src/blossom-drive-client/Upload.ts @@ -3,6 +3,8 @@ import type Drive from "./Drive"; export type UploadableItem = FileList | File | FileSystemDirectoryEntry; +// NOTE: make sure to support webkitRelativePath on File if its defined + export default class Upload { drive: Drive; servers: string[]; diff --git a/src/components/DriveEditModal.svelte b/src/components/DriveEditModal.svelte index 12d5363..26de76a 100644 --- a/src/components/DriveEditModal.svelte +++ b/src/components/DriveEditModal.svelte @@ -9,7 +9,6 @@ let description = drive.description; const submit = async (e: SubmitEvent) => { - e.preventDefault(); drive.name = name; drive.description = description; await drive.save(); @@ -18,7 +17,7 @@ -
+