mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
fix ic store typos
This commit is contained in:
parent
910db7534b
commit
b6b6629f2e
1 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue