Browse Source

feat(client): make onChangeBenchmark protected

pull/6904/head
KenTandrian 1 week ago
parent
commit
fc06c02665
  1. 8
      apps/client/src/app/components/benchmark-comparator/benchmark-comparator.component.ts

8
apps/client/src/app/components/benchmark-comparator/benchmark-comparator.component.ts

@ -113,14 +113,14 @@ export class GfBenchmarkComparatorComponent implements OnChanges, OnDestroy {
} }
} }
public onChangeBenchmark(symbolProfileId: string) {
this.benchmarkChanged.emit(symbolProfileId);
}
public ngOnDestroy() { public ngOnDestroy() {
this.chart?.destroy(); this.chart?.destroy();
} }
protected onChangeBenchmark(symbolProfileId: string) {
this.benchmarkChanged.emit(symbolProfileId);
}
private initialize() { private initialize() {
const benchmarkDataValues: Record<string, number> = {}; const benchmarkDataValues: Record<string, number> = {};

Loading…
Cancel
Save