From 542f3b23b29aea56c6c5f072ac2b5884aba9793c Mon Sep 17 00:00:00 2001 From: ta264 Date: Thu, 2 Jul 2020 21:24:57 +0100 Subject: [PATCH] Fixed: Add book model should close after adding book --- frontend/src/Store/Actions/searchActions.js | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/src/Store/Actions/searchActions.js b/frontend/src/Store/Actions/searchActions.js index 510c6ba0d..9f24178ae 100644 --- a/frontend/src/Store/Actions/searchActions.js +++ b/frontend/src/Store/Actions/searchActions.js @@ -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 }),