diff options
Diffstat (limited to 'server/sonar-web/src/main/js/api')
-rw-r--r-- | server/sonar-web/src/main/js/api/components.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/api/components.js b/server/sonar-web/src/main/js/api/components.js index e024ce947f5..60d33b1f346 100644 --- a/server/sonar-web/src/main/js/api/components.js +++ b/server/sonar-web/src/main/js/api/components.js @@ -124,8 +124,8 @@ export function getBreadcrumbs(component: string) { }); } -export function getComponentTags(component: string) { - return getComponentShow(component).then(r => r.component.tags || []); +export function getComponentData(component: string) { + return getComponentShow(component).then(r => r.component); } export function getMyProjects(data?: Object) { |