From 8b0baf15f68dad1ef4e779102d077e8a174687e9 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Fri, 3 Feb 2017 16:33:15 +0100 Subject: fix web api page when unchecking internal --- server/sonar-web/src/main/js/apps/web-api/components/WebApiApp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/sonar-web/src/main/js/apps/web-api') 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 }); -- cgit v1.2.3