Fixed: Add book model should close after adding book

This commit is contained in:
ta264 2020-07-02 21:24:57 +01:00
parent bdebb1593c
commit 542f3b23b2

View file

@ -158,7 +158,6 @@ export const actionHandlers = handleThunks({
}).request;
promise.done((data) => {
data.editions = itemToAdd.book.editions;
itemToAdd.book = data;
dispatch(batchActions([
updateItem({ section: 'authors', ...data.author }),