X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fpybind%2Fmgr%2Fdashboard%2Ffrontend%2Fsrc%2Fapp%2Fshared%2Fcomponents%2Fdate-time-picker%2Fdate-time-picker.component.ts;h=b05c7f28ce4b7a5f030439e30c8bd590e61aead4;hb=aee94f6923ba628a85d855d0c5316d0da78bfa2a;hp=390edbfd84a4cdc7b058ee7e6a4c3dca32866aff;hpb=27f45121cc74e31203777ad565f78d8aad9b92a2;p=ceph.git diff --git a/ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/components/date-time-picker/date-time-picker.component.ts b/ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/components/date-time-picker/date-time-picker.component.ts index 390edbfd8..b05c7f28c 100644 --- a/ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/components/date-time-picker/date-time-picker.component.ts +++ b/ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/components/date-time-picker/date-time-picker.component.ts @@ -1,5 +1,5 @@ import { Component, Input, OnInit } from '@angular/core'; -import { FormControl } from '@angular/forms'; +import { UntypedFormControl } from '@angular/forms'; import { NgbCalendar, NgbDateStruct, NgbTimeStruct } from '@ng-bootstrap/ng-bootstrap'; import moment from 'moment'; @@ -12,7 +12,7 @@ import { Subscription } from 'rxjs'; }) export class DateTimePickerComponent implements OnInit { @Input() - control: FormControl; + control: UntypedFormControl; @Input() hasSeconds = true;