diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2017-02-03 16:33:15 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2017-02-03 16:33:15 +0100 |
commit | 8b0baf15f68dad1ef4e779102d077e8a174687e9 (patch) | |
tree | c81f2629e2474463ca292ae317f1b997286fdba8 /server/sonar-web/src/main/js/apps/web-api | |
parent | bbfdd41672461ad21b32bd5ec037d264d0db2d93 (diff) | |
download | sonarqube-8b0baf15f68dad1ef4e779102d077e8a174687e9.tar.gz sonarqube-8b0baf15f68dad1ef4e779102d077e8a174687e9.zip |
fix web api page when unchecking internal
Diffstat (limited to 'server/sonar-web/src/main/js/apps/web-api')
-rw-r--r-- | server/sonar-web/src/main/js/apps/web-api/components/WebApiApp.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/web-api/components/WebApiApp.js b/server/sonar-web/src/main/js/apps/web-api/components/WebApiApp.js index 2a9a016ce1f..bd90145e0f4 100644 --- a/server/sonar-web/src/main/js/apps/web-api/components/WebApiApp.js +++ b/server/sonar-web/src/main/js/apps/web-api/components/WebApiApp.js @@ -108,7 +108,7 @@ export default class WebApiApp extends React.Component { const showInternal = !this.state.showInternal; if (domain && domain.internal && !showInternal) { - router.push('/'); + router.push('/web_api'); } this.setState({ showInternal }); |