From 7b82d281c404e59dd2d4a2066d54d20e26a1546a Mon Sep 17 00:00:00 2001 From: bmartins Date: Wed, 15 Mar 2023 15:21:03 +0100 Subject: [PATCH] upgrade ng 11 to 12: Correct types errors - I have no idea what I corrected. This has probably broke the code --- .../form/date/list/time/time-list.component.ts | 2 +- .../form/steps/step-three/step-three.component.html | 2 +- .../poll-results-dinum.component.html | 10 ++++++---- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/app/features/administration/form/date/list/time/time-list.component.ts b/src/app/features/administration/form/date/list/time/time-list.component.ts index 59e143ae..6f87e8e2 100644 --- a/src/app/features/administration/form/date/list/time/time-list.component.ts +++ b/src/app/features/administration/form/date/list/time/time-list.component.ts @@ -15,7 +15,7 @@ export class TimeListComponent implements OnInit { @Input() public timeSlices: TimeSlices[]; @Input() - public prefix_choice_id = ''; + public prefix_choice_id: number; constructor( @Inject(DOCUMENT) private document: any, diff --git a/src/app/features/administration/form/steps/step-three/step-three.component.html b/src/app/features/administration/form/steps/step-three/step-three.component.html index 10bd16a8..08002a26 100644 --- a/src/app/features/administration/form/steps/step-three/step-three.component.html +++ b/src/app/features/administration/form/steps/step-three/step-three.component.html @@ -30,7 +30,7 @@ -
+
- {{ choice.date_string }} + {{ choice_groupe.date_string }} +
+
+
-
- {{ showAsDate(group.date_string) | date: 'fullDate':'Europe/Paris' }} + {{ showAsDate(group.date_string) | date : 'fullDate' : 'Europe/Paris' }}