Browse Source

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

* Fix tooltip

* Update changelog
pull/7696/head
Thomas Kaul 6 days ago
committed by GitHub
parent
commit
74c1aa35ae
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      CHANGELOG.md
  2. 2
      apps/client/src/app/components/benchmark-comparator/benchmark-comparator.component.ts

1
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

2
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`
}
]
};

Loading…
Cancel
Save