forked from tykayn/funky-framadate-front
fix missing openSimple func
This commit is contained in:
parent
3b8aa9d849
commit
ee429e37cc
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user