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

View File

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