diff --git a/komga-webui/src/views/BrowseLibraries.vue b/komga-webui/src/views/BrowseLibraries.vue index e614a8629..075977093 100644 --- a/komga-webui/src/views/BrowseLibraries.vue +++ b/komga-webui/src/views/BrowseLibraries.vue @@ -413,8 +413,8 @@ export default Vue.extend({ this.totalElements = seriesPage.totalElements this.series = seriesPage.content }, - getLibraryLazy(libraryId: any): LibraryDto | undefined { - if (libraryId !== 0) { + getLibraryLazy (libraryId: string): LibraryDto | undefined { + if (libraryId !== LIBRARIES_ALL) { return this.$store.getters.getLibraryById(libraryId) } else { return undefined