From 74c1aa35ae3f888629c0e1090ca7b534b3fdcf0b Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sat, 22 Aug 2026 13:35:30 +0200 Subject: [PATCH] Bugfix/benchmark label in tooltip of benchmark comparator (#7695) * Fix tooltip * Update changelog --- CHANGELOG.md | 1 + .../benchmark-comparator/benchmark-comparator.component.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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` } ] };