Skip to content

Commit

Permalink
Update src/app/carbon-estimation/carbon-estimation.component.ts to re…
Browse files Browse the repository at this point in the history
…move duplicate emissions

Co-authored-by: Matthew Griffin <[email protected]>
  • Loading branch information
jmain-scottlogic and mgriffin-scottlogic authored Apr 25, 2024
1 parent 8c5a943 commit bd9f4fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/carbon-estimation/carbon-estimation.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export class CarbonEstimationComponent implements OnInit {
}

private getAriaLabelForCategory(series: ApexChartSeries): string {
const category = series.name.replace('-', 'emissions are');
const category = series.name.replace('-', 'are');
return `${category}${this.getEmissionMadeUp(series.data)}`;
}

Expand Down

0 comments on commit bd9f4fe

Please sign in to comment.