diff options
author | Stas Vilchik <stas.vilchik@sonarsource.com> | 2018-10-24 09:56:27 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-10-26 20:21:00 +0200 |
commit | 3026740ee3e483b542aca2fad5f5e79a931faa87 (patch) | |
tree | c9866b262771baa0bd3470b8d831392c6ced1f92 /server/sonar-web/src/main/js/apps/about | |
parent | 69bcb8faa2f40f0e0e6e6a8427d178c02df2eff6 (diff) | |
download | sonarqube-3026740ee3e483b542aca2fad5f5e79a931faa87.tar.gz sonarqube-3026740ee3e483b542aca2fad5f5e79a931faa87.zip |
update web dependencies
Diffstat (limited to 'server/sonar-web/src/main/js/apps/about')
-rw-r--r-- | server/sonar-web/src/main/js/apps/about/actions.ts | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/server/sonar-web/src/main/js/apps/about/actions.ts b/server/sonar-web/src/main/js/apps/about/actions.ts index 515d95128db..c9f54bb37e1 100644 --- a/server/sonar-web/src/main/js/apps/about/actions.ts +++ b/server/sonar-web/src/main/js/apps/about/actions.ts @@ -20,12 +20,13 @@ import { Dispatch } from 'redux'; import { getValues } from '../../api/settings'; import { receiveValues } from '../settings/store/values/actions'; -import { Store } from '../../store/rootReducer'; -export const fetchAboutPageSettings = () => (dispatch: Dispatch<Store>) => { - const keys = ['sonar.lf.aboutText']; +export function fetchAboutPageSettings() { + return (dispatch: Dispatch) => { + const keys = ['sonar.lf.aboutText']; - return getValues({ keys: keys.join() }).then(values => { - dispatch(receiveValues(values)); - }); -}; + return getValues({ keys: keys.join() }).then(values => { + dispatch(receiveValues(values)); + }); + }; +} |