From b6b6629f2e1a46992e1bb05e58bc6f69c7fe5eb2 Mon Sep 17 00:00:00 2001 From: Sonja Happ Date: Thu, 28 Jan 2021 12:33:58 +0100 Subject: [PATCH] fix ic store typos --- src/ic/ic-store.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ic/ic-store.js b/src/ic/ic-store.js index 15da1e9..d9ae16e 100644 --- a/src/ic/ic-store.js +++ b/src/ic/ic-store.js @@ -80,15 +80,15 @@ class InfrastructureComponentStore extends ArrayStore { ICsDataManager.getStatus(action.url, action.token, action.ic); return super.reduce(state, action); - case 'ics/received-status': + case 'ics/status-received': let tempIC = action.ic; if(!tempIC.managedexternally){ - tempIC.state = response.state; - tempIC.statusupdateraw = response + tempIC.state = action.data.state; + tempIC.statusupdateraw = action.data; AppDispatcher.dispatch({ type: 'ics/start-edit', data: tempIC, - token: token, + token: action.token, }); } return super.reduce(state, action);