mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-01-02 23:04:23 +00:00
Fixed: Error adding book to existing author in incognito session
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user