From e024afacf3c4233c58ee614eeb05155793b0772d Mon Sep 17 00:00:00 2001 From: Jannis Redmann Date: Mon, 31 Oct 2016 23:28:49 +0100 Subject: [PATCH] registry dapp: fix reducer (#3028) --- js/src/dapps/registry/Records/reducers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/dapps/registry/Records/reducers.js b/js/src/dapps/registry/Records/reducers.js index a9a3ae371..4eac5f4a4 100644 --- a/js/src/dapps/registry/Records/reducers.js +++ b/js/src/dapps/registry/Records/reducers.js @@ -17,7 +17,7 @@ export default (state = initialState, action) => { }; } - if (action.type === 'records update error' && action.type === 'records update success') { + if (action.type === 'records update error' || action.type === 'records update success') { return { ...state, pending: false,