aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/projects/store
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/projects/store')
-rw-r--r--server/sonar-web/src/main/js/apps/projects/store/facetsDuck.js6
-rw-r--r--server/sonar-web/src/main/js/apps/projects/store/stateDuck.js6
2 files changed, 6 insertions, 6 deletions
diff --git a/server/sonar-web/src/main/js/apps/projects/store/facetsDuck.js b/server/sonar-web/src/main/js/apps/projects/store/facetsDuck.js
index 93ca4348b8c..03640a8b2f4 100644
--- a/server/sonar-web/src/main/js/apps/projects/store/facetsDuck.js
+++ b/server/sonar-web/src/main/js/apps/projects/store/facetsDuck.js
@@ -70,9 +70,9 @@ const getFacetsMap = facets => {
};
const reducer = createMap(
- (state, action) => action.type === actions.RECEIVE_PROJECTS,
- () => false,
- (state, action) => getFacetsMap(action.facets)
+ (state, action) => action.type === actions.RECEIVE_PROJECTS,
+ () => false,
+ (state, action) => getFacetsMap(action.facets)
);
export default reducer;
diff --git a/server/sonar-web/src/main/js/apps/projects/store/stateDuck.js b/server/sonar-web/src/main/js/apps/projects/store/stateDuck.js
index dd7ba0ca1e4..b2f0da3c31a 100644
--- a/server/sonar-web/src/main/js/apps/projects/store/stateDuck.js
+++ b/server/sonar-web/src/main/js/apps/projects/store/stateDuck.js
@@ -30,13 +30,13 @@ export const updateState = changes => ({
export default createValue(
// should update
- (state, action) => action.type === actions.UPDATE_STATE,
+ (state, action) => action.type === actions.UPDATE_STATE,
// should reset
- () => false,
+ () => false,
// get next value
- (state, action) => ({ ...state, ...action.changes }),
+ (state, action) => ({ ...state, ...action.changes }),
// default value
{}