diff --git a/ui/src/kapacitor/reducers/rules.js b/ui/src/kapacitor/reducers/rules.js index 2bb11dfcb4..cb5052ff40 100644 --- a/ui/src/kapacitor/reducers/rules.js +++ b/ui/src/kapacitor/reducers/rules.js @@ -172,8 +172,10 @@ export default function rules(state = {}, action) { return { ...state, - [ruleID]: {...state[ruleID]}, - alertNodes: newAlertNodes, + [ruleID]: { + ...state[ruleID], + alertNodes: newAlertNodes, + }, } }