aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/api
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-06-16 09:51:08 +0200
committerGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-07-04 14:15:34 +0200
commitbd8acc0bfb05d9c2bc488b61f5493d3f8bc676be (patch)
tree7b334de3c2b8c6cca9b50a795e2243cf627a415c /server/sonar-web/src/main/js/api
parent5b03b1c707168fcd83a3eee3bae40ad0d2c7022f (diff)
downloadsonarqube-bd8acc0bfb05d9c2bc488b61f5493d3f8bc676be.tar.gz
sonarqube-bd8acc0bfb05d9c2bc488b61f5493d3f8bc676be.zip
SONAR-9401 Add leak period on the project activity page graphs
Diffstat (limited to 'server/sonar-web/src/main/js/api')
-rw-r--r--server/sonar-web/src/main/js/api/components.js4
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) {