renderHeader () {
return this.props.renderHeader(
'Size',
- translate('overview.domain.structure'));
+ translate('overview.domain.size'));
}
renderTimeline (range) {
measure.value;
}
- renderHeader (label, domain) {
+ renderHeader (domain, label) {
const { component } = this.props;
const domainUrl =
window.baseUrl +
`/component_measures/domain/${domain}` +
- `id=${encodeURIComponent(component.key)}`;
+ `?id=${encodeURIComponent(component.key)}`;
return (
<div className="overview-card-header">
overview.complexity_tooltip.function={0} functions have complexity around {1}
overview.coverage_on=Coverage on
overview.domain.duplications=Duplications
-overview.domain.structure=Structure
+overview.domain.size=Size
overview.gate.ERROR=Failed
overview.gate.OK=Passed
overview.gate.view.errors=The view failed the quality gate on the following conditions: {0}.