aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/api
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-04-07 15:44:07 +0200
committerStas Vilchik <vilchiks@gmail.com>2016-04-11 15:48:35 +0200
commit9bf2ebf04d26e49c844b264f767a0345cce0be20 (patch)
tree0c1402deb0243578e79718bf92de289f5b8efc4d /server/sonar-web/src/main/js/api
parentc8b01d4f1520a14be831547f6b35c072a8b9517e (diff)
downloadsonarqube-9bf2ebf04d26e49c844b264f767a0345cce0be20.tar.gz
sonarqube-9bf2ebf04d26e49c844b264f767a0345cce0be20.zip
SONAR-7531 Add pagination on the Code page
Diffstat (limited to 'server/sonar-web/src/main/js/api')
-rw-r--r--server/sonar-web/src/main/js/api/components.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/api/components.js b/server/sonar-web/src/main/js/api/components.js
index ac53aaf2ab3..934d7a9c1bb 100644
--- a/server/sonar-web/src/main/js/api/components.js
+++ b/server/sonar-web/src/main/js/api/components.js
@@ -55,7 +55,7 @@ export function getComponentTree (strategy, componentKey, metrics = [], addition
}
export function getChildren (componentKey, metrics, additional) {
- return getComponentTree('children', componentKey, metrics, additional).then(r => r.components);
+ return getComponentTree('children', componentKey, metrics, additional);
}
export function getComponentLeaves (componentKey, metrics, additional) {