Add files modal and X button
This commit is contained in:
@ -17,6 +17,8 @@ import FileUpload from '@/components/ui/file-upload/FileUpload.vue';
|
||||
import FileUploadGrid from '@/components/ui/file-upload/FileUploadGrid.vue';
|
||||
import Button from '@/components/ui/button/Button.vue';
|
||||
|
||||
const files = ref<File[]>([]);
|
||||
|
||||
const currentPlaylistStore = useCurrentPlaylistStore();
|
||||
const progressEntries = ref<Map<string, StreamProgress200Item>>(new Map());
|
||||
let listener: EventSourceListener<StreamProgress200Item> | null = null;
|
||||
@ -59,7 +61,6 @@ async function listenImports() {
|
||||
}
|
||||
|
||||
function onYoutubeClick(e: MouseEvent) {
|
||||
console.log("hello")
|
||||
e.stopPropagation();
|
||||
}
|
||||
|
||||
@ -90,7 +91,7 @@ onUnmounted(() => {
|
||||
</Outline>
|
||||
</template>
|
||||
<div class="w-full flex flex-col p-8">
|
||||
<FileUpload class="rounded-lg border border-dashed border-muted" @onChange="">
|
||||
<FileUpload v-model="files" class="rounded-lg border border-dashed border-muted" @onChange="">
|
||||
<template #default>
|
||||
<FileUploadGrid />
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user