aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/quality-gates/store/reducers.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/quality-gates/store/reducers.js')
-rw-r--r--server/sonar-web/src/main/js/apps/quality-gates/store/reducers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/quality-gates/store/reducers.js b/server/sonar-web/src/main/js/apps/quality-gates/store/reducers.js
index aadba7a2415..0b8e06d0656 100644
--- a/server/sonar-web/src/main/js/apps/quality-gates/store/reducers.js
+++ b/server/sonar-web/src/main/js/apps/quality-gates/store/reducers.js
@@ -34,7 +34,7 @@ import { checkIfDefault, addCondition, deleteCondition, replaceCondition } from
const initialState = {};
-export default function rootReducer (state = initialState, action) {
+export default function rootReducer (state = initialState, action = {}) {
switch (action.type) {
case SET_STATE:
return { ...state, ...action.nextState };