mirror of
https://github.com/Readarr/Readarr
synced 2025-12-27 02:32:27 +01:00
Fixed: Error adding book to existing author in incognito session
This commit is contained in:
parent
b57ba3d6e2
commit
ca8f768f84
1 changed files with 3 additions and 1 deletions
|
|
@ -5,7 +5,9 @@ function getNewBook(book, payload) {
|
|||
searchForNewBook = false
|
||||
} = payload;
|
||||
|
||||
getNewAuthor(book.author, payload);
|
||||
if (!('id' in book.author) || book.author.id === 0) {
|
||||
getNewAuthor(book.author, payload);
|
||||
}
|
||||
|
||||
book.addOptions = {
|
||||
searchForNewBook
|
||||
|
|
|
|||
Loading…
Reference in a new issue