diff options
author | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2017-08-24 09:23:21 +0200 |
---|---|---|
committer | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2017-08-25 16:01:06 +0200 |
commit | 7d034a6d0d9991c251757eb9ab72bd37ac97b6ab (patch) | |
tree | 170ba041b744a95f4bc0377fa27dbb15a8567c6c /server/sonar-web/src/main/js/apps/about/components/AboutApp.js | |
parent | f56a05f14fe4b0685bce7a8750c929641ebf0b78 (diff) | |
download | sonarqube-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/apps/about/components/AboutApp.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/about/components/AboutApp.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/about/components/AboutApp.js b/server/sonar-web/src/main/js/apps/about/components/AboutApp.js index 7aec02cb77f..36ced3119e7 100644 --- a/server/sonar-web/src/main/js/apps/about/components/AboutApp.js +++ b/server/sonar-web/src/main/js/apps/about/components/AboutApp.js @@ -33,7 +33,7 @@ import AboutStandards from './AboutStandards'; import AboutScanners from './AboutScanners'; import { searchProjects } from '../../../api/components'; import { getFacet } from '../../../api/issues'; -import { getAppState, getCurrentUser, getSettingValue } from '../../../store/rootReducer'; +import { getAppState, getCurrentUser, getGlobalSettingValue } from '../../../store/rootReducer'; import { translate } from '../../../helpers/l10n'; import { fetchAboutPageSettings } from '../actions'; import AboutAppForSonarQubeDotComLazyLoader from './AboutAppForSonarQubeDotComLazyLoader'; @@ -202,8 +202,8 @@ class AboutApp extends React.PureComponent { const mapStateToProps = state => ({ appState: getAppState(state), currentUser: getCurrentUser(state), - customText: getSettingValue(state, 'sonar.lf.aboutText'), - sonarqubeDotCom: getSettingValue(state, 'sonar.lf.sonarqube.com.enabled') + customText: getGlobalSettingValue(state, 'sonar.lf.aboutText'), + sonarqubeDotCom: getGlobalSettingValue(state, 'sonar.lf.sonarqube.com.enabled') }); const mapDispatchToProps = { fetchAboutPageSettings }; |