fix: remove duplicate separator in the shelves dropdown
This commit is contained in:
@@ -59,8 +59,7 @@
|
||||
<DropdownMenu.Content>
|
||||
<DropdownMenu.Group>
|
||||
<DropdownMenu.GroupHeading>Shelves</DropdownMenu.GroupHeading>
|
||||
<DropdownMenu.Separator />
|
||||
{#each bookshelfState.getBookshelves(libraryState.activeLibrary!.id) as shelf}
|
||||
{#each bookshelfState.getBookshelves(libraryState.activeLibrary!.id) ?? [] as shelf (shelf.id)}
|
||||
<DropdownMenu.CheckboxItem
|
||||
checked={selectedBooks.every(
|
||||
(book) => book.lists.findIndex((sh) => sh.id === shelf.id) !== -1
|
||||
|
||||
Reference in New Issue
Block a user