aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/store
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-08-24 09:23:21 +0200
committerGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-08-25 16:01:06 +0200
commit7d034a6d0d9991c251757eb9ab72bd37ac97b6ab (patch)
tree170ba041b744a95f4bc0377fa27dbb15a8567c6c /server/sonar-web/src/main/js/store
parentf56a05f14fe4b0685bce7a8750c929641ebf0b78 (diff)
downloadsonarqube-7d034a6d0d9991c251757eb9ab72bd37ac97b6ab.tar.gz
sonarqube-7d034a6d0d9991c251757eb9ab72bd37ac97b6ab.zip
SONAR-9747 Make components and global settings independant from each others in the ui
Diffstat (limited to 'server/sonar-web/src/main/js/store')
-rw-r--r--server/sonar-web/src/main/js/store/rootReducer.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/store/rootReducer.js b/server/sonar-web/src/main/js/store/rootReducer.js
index f4d32f82868..9cdd198e860 100644
--- a/server/sonar-web/src/main/js/store/rootReducer.js
+++ b/server/sonar-web/src/main/js/store/rootReducer.js
@@ -153,7 +153,8 @@ export const getPermissionsAppSelectedPermission = state =>
export const getPermissionsAppError = state => fromPermissionsApp.getError(state.permissionsApp);
-export const getSettingValue = (state, key) => fromSettingsApp.getValue(state.settingsApp, key);
+export const getGlobalSettingValue = (state, key) =>
+ fromSettingsApp.getValue(state.settingsApp, key);
export const getSettingsAppDefinition = (state, key) =>
fromSettingsApp.getDefinition(state.settingsApp, key);
@@ -164,8 +165,8 @@ export const getSettingsAppAllCategories = state =>
export const getSettingsAppDefaultCategory = state =>
fromSettingsApp.getDefaultCategory(state.settingsApp);
-export const getSettingsAppSettingsForCategory = (state, category) =>
- fromSettingsApp.getSettingsForCategory(state.settingsApp, category);
+export const getSettingsAppSettingsForCategory = (state, category, componentKey) =>
+ fromSettingsApp.getSettingsForCategory(state.settingsApp, category, componentKey);
export const getSettingsAppChangedValue = (state, key) =>
fromSettingsApp.getChangedValue(state.settingsApp, key);