aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/code/components/Component.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/code/components/Component.js')
-rw-r--r--server/sonar-web/src/main/js/apps/code/components/Component.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/code/components/Component.js b/server/sonar-web/src/main/js/apps/code/components/Component.js
index e36ad13bcf6..4fe40dfa618 100644
--- a/server/sonar-web/src/main/js/apps/code/components/Component.js
+++ b/server/sonar-web/src/main/js/apps/code/components/Component.js
@@ -70,10 +70,10 @@ export default class Component extends React.PureComponent {
switch (component.qualifier) {
case 'FIL':
case 'UTS':
- componentAction = <ComponentPin component={component} />;
+ componentAction = <ComponentPin branch={rootComponent.branch} component={component} />;
break;
default:
- componentAction = <ComponentDetach component={component} />;
+ componentAction = <ComponentDetach branch={rootComponent.branch} component={component} />;
}
}