mirror of
https://github.com/gotson/komga.git
synced 2025-12-20 23:45:11 +01:00
fix(webui): wrong comparison could show error in javascript console
This commit is contained in:
parent
a6252ff2e8
commit
b345c30d12
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue