Skip to content

Commit 79a597d

Browse files
committed
Fixed scoping of variables to fix build
1 parent 1782890 commit 79a597d

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

frontend/src/app/modules/time-series/components/time-series-line-chart/time-series-line-chart.component.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,14 @@ export class TimeSeriesLineChartComponent implements AfterContentInit, OnChanges
3030
@ViewChild("svg")
3131
svgElement: ElementRef;
3232

33+
public ngxSmartModalService;
34+
3335
private _resizeTimeoutId: number;
3436

3537
constructor(private lineChartService: LineChartService,
36-
private ngxSmartModalService: NgxSmartModalService,
37-
private spinnerService: SpinnerService) {
38+
private spinnerService: SpinnerService,
39+
ngxSmartModalService: NgxSmartModalService) {
40+
this.ngxSmartModalService = ngxSmartModalService;
3841
}
3942

4043
ngAfterContentInit(): void {

frontend/src/app/modules/time-series/time-series.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ import {BehaviorSubject} from 'rxjs';
1515
})
1616
export class TimeSeriesComponent implements OnInit {
1717

18-
private showTimeSeriesChart = false;
19-
18+
public showTimeSeriesChart = false;
2019
public results$ = new BehaviorSubject<EventResultDataDTO>(new EventResultData());
2120

2221
constructor(private linechartDataService: LinechartDataService, private resultSelectionStore: ResultSelectionStore) { }

0 commit comments

Comments
 (0)