Fixed: Adding alternative edition of a book via goodreads id

This commit is contained in:
ta264
2021-01-18 20:09:28 +00:00
parent 3575ca50da
commit 6a79c2f3a1
3 changed files with 17 additions and 9 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ class AddNewItem extends Component {
);
} else if (item.book) {
const book = item.book;
const edition = book.editions[0];
const edition = book.editions.find((x) => x.monitored);
return (
<AddNewBookSearchResultConnector
key={item.id}