]> source.dussan.org Git - sonarqube.git/commitdiff
fix web api page when unchecking internal
authorStas Vilchik <vilchiks@gmail.com>
Fri, 3 Feb 2017 15:33:15 +0000 (16:33 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Fri, 3 Feb 2017 15:33:15 +0000 (16:33 +0100)
server/sonar-web/src/main/js/apps/web-api/components/WebApiApp.js

index 2a9a016ce1f29150d71bcf2de3953d21ff427441..bd90145e0f482e23a5f906581d2a177a5d17d22f 100644 (file)
@@ -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 });