Skip to content

Commit 51d55f7

Browse files
authoredMar 17, 2025
Feature/add missing lifecycle hook in historical market data editor dialog (ghostfolio#4456)
* Add OnInit
1 parent 6036547 commit 51d55f7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed
 

‎libs/ui/src/lib/historical-market-data-editor/historical-market-data-editor-dialog/historical-market-data-editor-dialog.component.ts

+5-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ import {
77
Component,
88
CUSTOM_ELEMENTS_SCHEMA,
99
Inject,
10-
OnDestroy
10+
OnDestroy,
11+
OnInit
1112
} from '@angular/core';
1213
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
1314
import { MatButtonModule } from '@angular/material/button';
@@ -41,7 +42,9 @@ import { HistoricalMarketDataEditorDialogParams } from './interfaces/interfaces'
4142
styleUrls: ['./historical-market-data-editor-dialog.scss'],
4243
templateUrl: 'historical-market-data-editor-dialog.html'
4344
})
44-
export class GfHistoricalMarketDataEditorDialogComponent implements OnDestroy {
45+
export class GfHistoricalMarketDataEditorDialogComponent
46+
implements OnDestroy, OnInit
47+
{
4548
private unsubscribeSubject = new Subject<void>();
4649

4750
public constructor(

0 commit comments

Comments
 (0)