Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Bugfix/benchmark label in tooltip of benchmark comparator (#7695)

Thomas Kaul74c1aa35ae3f
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5cd20a1bef..8d9d70dd98 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 0091ae5d76..8d5e3ff62b 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`
}
]
};