mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-17 21:25:39 -04:00
New: Add option to only monitor selected book when adding single book
This commit is contained in:
@@ -7,6 +7,11 @@ function getNewBook(book, payload) {
|
||||
|
||||
if (!('id' in book.author) || book.author.id === 0) {
|
||||
getNewAuthor(book.author, payload);
|
||||
|
||||
if (payload.monitor === 'specificBook') {
|
||||
delete book.author.addOptions.monitor;
|
||||
book.author.addOptions.booksToMonitor = [book.foreignBookId];
|
||||
}
|
||||
}
|
||||
|
||||
book.addOptions = {
|
||||
|
||||
Reference in New Issue
Block a user