From ee429e37cc66ea709fb4f17c3cfdc7e4b21a7774 Mon Sep 17 00:00:00 2001 From: Tykayn Date: Thu, 20 May 2021 13:34:14 +0200 Subject: [PATCH] fix missing openSimple func --- .../administration/form/date-select/date-select.component.ts | 5 +++++ 1 file changed, 5 insertions(+) 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; + } }