Mostly get drag and drop working
This commit is contained in:
@@ -7,7 +7,16 @@
|
||||
import { ExclamationCircleOutline } from 'flowbite-svelte-icons';
|
||||
import { db } from '$lib/catalog/db';
|
||||
|
||||
const manga = $currentManga;
|
||||
const manga = $currentManga?.sort((a, b) => {
|
||||
if (a.volumeName < b.volumeName) {
|
||||
return -1;
|
||||
}
|
||||
if (a.volumeName > b.volumeName) {
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
});
|
||||
|
||||
let popupModal = false;
|
||||
|
||||
onMount(() => {
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
let promise: Promise<void>;
|
||||
|
||||
async function onUpload(files: FileList) {
|
||||
promise = processFiles(files);
|
||||
promise = processFiles([...files]);
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user