From bf220a5aa33a5f003b37b40d3842a86a2274c2f9 Mon Sep 17 00:00:00 2001 From: "Maxime F." Date: Wed, 25 Sep 2024 11:49:31 +0200 Subject: [PATCH] fix(datepicker-with-time): add missing imports --- .../datepicker-with-time/datepicker-with-time.component.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/projects/date-picker/src/datepicker-with-time/datepicker-with-time.component.ts b/projects/date-picker/src/datepicker-with-time/datepicker-with-time.component.ts index 29c2765..c3016e1 100644 --- a/projects/date-picker/src/datepicker-with-time/datepicker-with-time.component.ts +++ b/projects/date-picker/src/datepicker-with-time/datepicker-with-time.component.ts @@ -3,7 +3,7 @@ import { AfterViewInit, ChangeDetectionStrategy, Component, DestroyRef, ElementR import { takeUntilDestroyed } from '@angular/core/rxjs-interop'; import { MatButton } from '@angular/material/button'; import { DateAdapter } from '@angular/material/core'; -import { MatDatepicker, MatDatepickerInput, MatDateSelectionModel } from '@angular/material/datepicker'; +import { MatDatepicker, MatDatepickerApply, MatDatepickerInput, MatDateSelectionModel } from '@angular/material/datepicker'; import { NgxDateOrDuration, NgxTimePickerComponent } from '@hug/ngx-time-picker'; import { cloneDeep } from 'lodash-es'; import { delay, filter, map, tap } from 'rxjs'; @@ -21,7 +21,8 @@ import { DATE_TIME_ADAPTER, DateTimeAdapter } from '../date-adapter/date-time-ad imports: [ MatButton, NgxTimePickerComponent, - MatDatepicker + MatDatepicker, + MatDatepickerApply ] }) export class NgxDatepickerWithTimeComponent implements AfterViewInit, OnDestroy {