File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import {
1010 ChangeDetectionStrategy ,
1111 ChangeDetectorRef ,
1212 Component ,
13- Host ,
1413 Inject ,
1514 ViewChild ,
1615 Optional ,
@@ -69,10 +68,8 @@ export class DatepickerDemo {
6968export class CustomHeader < D > implements OnDestroy {
7069 private _destroyed = new Subject < void > ( ) ;
7170
72- constructor ( @Host ( ) private _calendar : MatCalendar < D > ,
73- private _dateAdapter : DateAdapter < D > ,
74- @Inject ( MAT_DATE_FORMATS ) private _dateFormats : MatDateFormats ,
75- cdr : ChangeDetectorRef ) {
71+ constructor ( private _calendar : MatCalendar < D > , private _dateAdapter : DateAdapter < D > ,
72+ @Inject ( MAT_DATE_FORMATS ) private _dateFormats : MatDateFormats , cdr : ChangeDetectorRef ) {
7673 _calendar . stateChanges
7774 . pipe ( takeUntil ( this . _destroyed ) )
7875 . subscribe ( ( ) => cdr . markForCheck ( ) ) ;
You can’t perform that action at this time.
0 commit comments