aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/app/components/ComponentContainer.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/app/components/ComponentContainer.tsx')
-rw-r--r--server/sonar-web/src/main/js/app/components/ComponentContainer.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/app/components/ComponentContainer.tsx b/server/sonar-web/src/main/js/app/components/ComponentContainer.tsx
index a20ec1d527c..b1b2ac07fad 100644
--- a/server/sonar-web/src/main/js/app/components/ComponentContainer.tsx
+++ b/server/sonar-web/src/main/js/app/components/ComponentContainer.tsx
@@ -89,7 +89,10 @@ export class ComponentContainer extends React.PureComponent<Props, State> {
}
};
- Promise.all([getComponentNavigation(id), getComponentData(id, branch)]).then(([nav, data]) => {
+ Promise.all([
+ getComponentNavigation(id, branch),
+ getComponentData(id, branch)
+ ]).then(([nav, data]) => {
const component = this.addQualifier({ ...nav, ...data });
if (this.props.organizationsEnabled) {