mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-13 02:45:02 +02:00
Init sqlite take 2
This commit is contained in:
parent
d86a3b3dc2
commit
cf7fd315b6
88 changed files with 7017 additions and 692 deletions
|
@ -218,7 +218,7 @@ class BookMetadata {
|
|||
|
||||
// Updates author name
|
||||
updateAuthor(updatedAuthor) {
|
||||
var author = this.authors.find(au => au.id === updatedAuthor.id)
|
||||
const author = this.authors.find(au => au.id === updatedAuthor.id)
|
||||
if (!author || author.name == updatedAuthor.name) return false
|
||||
author.name = updatedAuthor.name
|
||||
return true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue