Skip to content

Commit

Permalink
fix(webui): wrong comparison could show error in javascript console
Browse files Browse the repository at this point in the history
  • Loading branch information
gotson committed Apr 27, 2021
1 parent a6252ff commit b345c30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions komga-webui/src/views/BrowseLibraries.vue
Expand Up @@ -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
Expand Down

0 comments on commit b345c30

Please sign in to comment.