diff --git a/CHANGELOG.md b/CHANGELOG.md index 5cd20a1be..8d9d70dd9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +- Fixed the benchmark label in the tooltip of the benchmark comparator on the analysis page - Fixed the _Storybook_ setup by loading the `@angular/localize` polyfill centrally - Fixed an issue in the activities import where an unused custom asset profile was created if the related activities were not imported diff --git a/apps/client/src/app/components/benchmark-comparator/benchmark-comparator.component.ts b/apps/client/src/app/components/benchmark-comparator/benchmark-comparator.component.ts index 0091ae5d7..8d5e3ff62 100644 --- a/apps/client/src/app/components/benchmark-comparator/benchmark-comparator.component.ts +++ b/apps/client/src/app/components/benchmark-comparator/benchmark-comparator.component.ts @@ -149,7 +149,7 @@ export class GfBenchmarkComparatorComponent implements OnChanges, OnDestroy { y: benchmarkDataValues[date] }; }), - label: this.benchmark?.name ?? $localize`Benchmark` + label: this.benchmark()?.name ?? $localize`Benchmark` } ] };