Added an On Library Item notifcation event

This commit is contained in:
zipben
2025-06-04 11:20:18 +00:00
parent c377b57601
commit bfbe5aa91e
10 changed files with 3530 additions and 3804 deletions

View File

@@ -7,7 +7,7 @@
</nuxt-link>
<nuxt-link to="/">
<h1 class="text-xl mr-6 hidden lg:block hover:underline">audiobookshelf</h1>
<h1 class="text-xl mr-6 hidden lg:block hover:underline">Draggledon Books</h1>
</nuxt-link>
<ui-libraries-dropdown class="mr-2" />

View File

@@ -310,7 +310,7 @@ export default {
}
},
libraryItemAdded(libraryItem) {
console.log('libraryItem added', libraryItem)
console.log('BookShelfCategorized: libraryItem added', libraryItem)
// TODO: Check if libraryItem would be on this shelf
if (!this.search) {
this.fetchCategories()

View File

@@ -543,7 +543,7 @@ export default {
this.handleScroll(scrollTop)
},
libraryItemAdded(libraryItem) {
console.log('libraryItem added', libraryItem)
console.log('LazyBookshelf: libraryItem added', libraryItem)
// TODO: Check if audiobook would be on this shelf
this.resetEntities()
},