refactor: move duplicates into library settings
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
import { useSidebar } from '$lib/components/ui/sidebar/index.js';
|
||||
import { getBookshelfState } from '$lib/state/bookshelf.svelte';
|
||||
import { getLibraryState } from '$lib/state/library.svelte';
|
||||
import { CopyCheck, House, LibraryBig, Rows3, ChevronRightIcon } from '@lucide/svelte';
|
||||
import { House, LibraryBig, Rows3, ChevronRightIcon } from '@lucide/svelte';
|
||||
|
||||
const libraryState = getLibraryState();
|
||||
const bookshelfState = getBookshelfState();
|
||||
@@ -43,13 +43,6 @@
|
||||
path: (id?: number) =>
|
||||
resolve('/(root)/(library)/library/[libraryId]/view', { libraryId: String(id ?? '') })
|
||||
},
|
||||
{
|
||||
title: 'Duplicates',
|
||||
icon: CopyCheck,
|
||||
routeId: '/(root)/(library)/library/[libraryId]/duplicates',
|
||||
path: (id?: number) =>
|
||||
resolve('/(root)/(library)/library/[libraryId]/duplicates', { libraryId: String(id ?? '') })
|
||||
},
|
||||
{ title: 'Shelves', icon: Rows3, routeId: null, path: () => '#', shelves: [] }
|
||||
];
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user