aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/charts/TreeMapRect.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/components/charts/TreeMapRect.js')
-rw-r--r--server/sonar-web/src/main/js/components/charts/TreeMapRect.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/components/charts/TreeMapRect.js b/server/sonar-web/src/main/js/components/charts/TreeMapRect.js
index 3ce42543291..871adc39980 100644
--- a/server/sonar-web/src/main/js/components/charts/TreeMapRect.js
+++ b/server/sonar-web/src/main/js/components/charts/TreeMapRect.js
@@ -21,6 +21,7 @@
import React from 'react';
import classNames from 'classnames';
import { scaleLinear } from 'd3-scale';
+import LinkIcon from '../icons-components/LinkIcon';
import Tooltip from '../controls/Tooltip';
const SIZE_SCALE = scaleLinear().domain([3, 15]).range([11, 18]).clamp(true);
@@ -60,7 +61,7 @@ export default class TreeMapRect extends React.PureComponent {
if (width >= 24 && height >= 24 && (width >= 48 || height >= 50)) {
return (
<a className="treemap-link" href={link} onClick={this.handleLinkClick}>
- <span className="icon-link" />
+ <LinkIcon />
</a>
);
}