diff --git a/src/app/features/administration/form/date-select/date-select.component.ts b/src/app/features/administration/form/date-select/date-select.component.ts index d15f98ba..f3997ba7 100644 --- a/src/app/features/administration/form/date-select/date-select.component.ts +++ b/src/app/features/administration/form/date-select/date-select.component.ts @@ -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; + } }