Explorar el Código

disable global rules page on sonarcloud

tags/7.6
Stas Vilchik hace 5 años
padre
commit
b8484b43ef

+ 3
- 1
server/sonar-web/src/main/js/app/utils/startReactApp.tsx Ver fichero

@@ -169,7 +169,9 @@ export default function startReactApp(

<Route component={GlobalContainer}>
<RouteWithChildRoutes path="account" childRoutes={accountRoutes} />
<RouteWithChildRoutes path="coding_rules" childRoutes={codingRulesRoutes} />
{!isSonarCloud() && (
<RouteWithChildRoutes path="coding_rules" childRoutes={codingRulesRoutes} />
)}
<RouteWithChildRoutes path="component" childRoutes={componentRoutes} />
<RouteWithChildRoutes path="documentation" childRoutes={documentationRoutes} />
<Route path="explore" component={Explore}>

+ 0
- 2
server/sonar-web/src/main/js/apps/coding-rules/components/App.tsx Ver fichero

@@ -101,8 +101,6 @@ interface State {
selected?: string;
}

// TODO redirect to default organization's rules page

export class App extends React.PureComponent<Props, State> {
mounted = false;


Cargando…
Cancelar
Guardar