From dfeb4c3267d6fb702d99e3fb402e44d401b78bcf Mon Sep 17 00:00:00 2001 From: patrick Date: Tue, 11 Aug 2026 00:32:44 -0400 Subject: [PATCH] chore: remove unused book files accordion component --- .../view/book-files-accordion.svelte | 135 ------------------ 1 file changed, 135 deletions(-) delete mode 100644 frontend/src/lib/components/view/book-files-accordion.svelte diff --git a/frontend/src/lib/components/view/book-files-accordion.svelte b/frontend/src/lib/components/view/book-files-accordion.svelte deleted file mode 100644 index 26eb0ef..0000000 --- a/frontend/src/lib/components/view/book-files-accordion.svelte +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - -
- Library Files - {book.files.length} -
-
- - - - - Filename - Size - File type - Actions - - - - {#each book.files as file (file.id)} - - {file.filename} - {formatFileSize(file.size)} - {getFileType(file.filename)} - -
- - {#if getFileType(file.filename) == 'EPUB' || getFileType(file.filename) == 'PDF'} - - - handleRead(file)} - > - - - -

Read

-
-
-
- {/if} - - - - - handleDownload(file)} - > - - - -

Download

-
-
-
- - - - - - - { - fileToDelete = file.id; - }} - > - - - -

Delete

-
-
-
-
- - - Are you absolutely sure? - - This action cannot be undone. This will permanently delete the record from - the database and the file from the filesystem. - - - - Cancel - { - handleDeleteFile(fileToDelete); - fileDeleteDialogOpen = false; - fileToDelete = undefined; - }} - class="text-destructive-foreground bg-destructive hover:bg-destructive/90" - >Delete - - -
-
-
-
- {/each} -
-
-
-
-