From eac34de04eb86089fbe88f54e5f8d8b534c86242 Mon Sep 17 00:00:00 2001 From: Tibor Postek Date: Tue, 25 Feb 2020 10:20:54 +0100 Subject: [PATCH] #107 add not completed loading images of compounds --- js/components/preview/compounds/redux/dispatchActions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/components/preview/compounds/redux/dispatchActions.js b/js/components/preview/compounds/redux/dispatchActions.js index 026ec7a4e..ba6644e39 100644 --- a/js/components/preview/compounds/redux/dispatchActions.js +++ b/js/components/preview/compounds/redux/dispatchActions.js @@ -147,7 +147,7 @@ export const loadCompoundImageData = ({ width, height, onCancel, data }) => disp width, height, key, - setImg_data: image => {}, //dispatch(updateCurrentCompound({ id: data.index, key: 'image', value: image })), + setImg_data: image => dispatch(updateCurrentCompound({ id: data.index, key: 'image', value: image })), url, cancel: onCancel });