fix missing openSimple func

This commit is contained in:
Tykayn 2021-05-20 13:34:14 +02:00 committed by tykayn
parent 3b8aa9d849
commit ee429e37cc
1 changed files with 5 additions and 0 deletions

View File

@ -31,6 +31,7 @@ export class DateSelectComponent implements OnInit {
timeSlices: TimeSlices[] = []; // ranges of time expressed as strings
selectionKind = 'range';
display: any;
constructor(
private fb: FormBuilder,
@ -71,4 +72,8 @@ export class DateSelectComponent implements OnInit {
this.dateChoices.map((elem) => (elem.timeSlices = Object.create(slices)));
this.toastService.display('périodes horaires réinitialisées');
}
openSimple() {
this.display = !this.display;
}
}