diff options
author | Philippe Perrin <philippe.perrin@sonarsource.com> | 2020-09-04 16:06:16 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2020-09-18 20:07:14 +0000 |
commit | 6d548ff089831ca189c4873a3838cedbc265c69a (patch) | |
tree | 2812a981137a320409618b03cd94722950e30c61 /server/sonar-web/src/main/js/apps/documentation | |
parent | 37a3a7ac753b6f8133b80bc3b8ab20cd7068d402 (diff) | |
download | sonarqube-6d548ff089831ca189c4873a3838cedbc265c69a.tar.gz sonarqube-6d548ff089831ca189c4873a3838cedbc265c69a.zip |
SONAR-13643 Update calls to plugins api
Diffstat (limited to 'server/sonar-web/src/main/js/apps/documentation')
-rw-r--r-- | server/sonar-web/src/main/js/apps/documentation/components/App.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/documentation/components/App.tsx b/server/sonar-web/src/main/js/apps/documentation/components/App.tsx index e745735be8d..3ad204c15a2 100644 --- a/server/sonar-web/src/main/js/apps/documentation/components/App.tsx +++ b/server/sonar-web/src/main/js/apps/documentation/components/App.tsx @@ -35,6 +35,7 @@ import ScreenPositionHelper from '../../../components/common/ScreenPositionHelpe import DocMarkdownBlock from '../../../components/docs/DocMarkdownBlock'; import { ParsedContent, separateFrontMatter } from '../../../helpers/markdown'; import { isSonarCloud } from '../../../helpers/system'; +import { PluginType } from '../../../types/plugins'; import { getUrlsList } from '../navTreeUtils'; import getPages from '../pages'; import '../styles.css'; @@ -97,7 +98,7 @@ export default class App extends React.PureComponent<Props, State> { } getLanguagePluginsDocumentation = (tree: DocNavigationItem[]) => { - return getInstalledPlugins() + return getInstalledPlugins(PluginType.Bundled) .then(plugins => Promise.all( plugins.map(plugin => { |