Browse Source

feat(lib): make days protected and readonly

pull/6337/head
KenTandrian 1 month ago
parent
commit
9bbdb19179
  1. 3
      libs/ui/src/lib/historical-market-data-editor/historical-market-data-editor.component.ts

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

@ -72,7 +72,6 @@ export class GfHistoricalMarketDataEditorComponent
@Output() marketDataChanged = new EventEmitter<boolean>(); @Output() marketDataChanged = new EventEmitter<boolean>();
public days = Array(31);
public defaultDateFormat: string; public defaultDateFormat: string;
public deviceType: string; public deviceType: string;
public historicalDataForm = this.formBuilder.group({ public historicalDataForm = this.formBuilder.group({
@ -91,6 +90,8 @@ export class GfHistoricalMarketDataEditorComponent
}; };
} = {}; } = {};
protected readonly days = Array(31);
private unsubscribeSubject = new Subject<void>(); private unsubscribeSubject = new Subject<void>();
public constructor( public constructor(

Loading…
Cancel
Save