diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/documentation/utils.ts')
-rw-r--r-- | server/sonar-web/src/main/js/apps/documentation/utils.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/documentation/utils.ts b/server/sonar-web/src/main/js/apps/documentation/utils.ts index ce04d9d2e8c..88b831c7325 100644 --- a/server/sonar-web/src/main/js/apps/documentation/utils.ts +++ b/server/sonar-web/src/main/js/apps/documentation/utils.ts @@ -56,9 +56,8 @@ export function getUrlsList(navigation: DocsNavigationItem[]): string[] { return flatten( navigation .filter(item => !isDocsNavigationExternalLink(item)) - .map( - (item: string | DocsNavigationBlock) => - isDocsNavigationBlock(item) ? item.children : [item] + .map((item: string | DocsNavigationBlock) => + isDocsNavigationBlock(item) ? item.children : [item] ) ); } |