forked from tykayn/funky-framadate-front
upgrade ng 11 to 12: Correct types errors
- I have no idea what I corrected. This has probably broke the code
This commit is contained in:
parent
b754c758f4
commit
7b82d281c4
@ -15,7 +15,7 @@ export class TimeListComponent implements OnInit {
|
|||||||
@Input()
|
@Input()
|
||||||
public timeSlices: TimeSlices[];
|
public timeSlices: TimeSlices[];
|
||||||
@Input()
|
@Input()
|
||||||
public prefix_choice_id = '';
|
public prefix_choice_id: number;
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
@Inject(DOCUMENT) private document: any,
|
@Inject(DOCUMENT) private document: any,
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
<!-- [minDate]="minDate"-->
|
<!-- [minDate]="minDate"-->
|
||||||
<p-calendar
|
<p-calendar
|
||||||
[(ngModel)]="pollService.calendar"
|
[(ngModel)]="pollService.calendar"
|
||||||
firstDayOfWeek="1"
|
[firstDayOfWeek]="1"
|
||||||
selectionMode="multiple"
|
selectionMode="multiple"
|
||||||
inputId="multiple"
|
inputId="multiple"
|
||||||
[showButtonBar]="true"
|
[showButtonBar]="true"
|
||||||
|
@ -1,15 +1,17 @@
|
|||||||
<div class="text-choices rounded-block" *ngIf="poll.kind == 'text'">
|
<div class="text-choices rounded-block" *ngIf="poll.kind == 'text'">
|
||||||
<div class="text-choice" *ngFor="let choice of poll.choices_grouped; index as ii">
|
<div class="text-choice" *ngFor="let choice_groupe of poll.choices_grouped; index as ii">
|
||||||
<div class="choice-label">
|
<div class="choice-label">
|
||||||
{{ choice.date_string }}
|
{{ choice_groupe.date_string }}
|
||||||
|
</div>
|
||||||
|
<div *ngFor="let choice of choice_groupe.choices">
|
||||||
|
<app-choice-table [choice]="choice" [detailledDisplay]="detailledDisplay"></app-choice-table>
|
||||||
</div>
|
</div>
|
||||||
<app-choice-table [choice]="choice" [detailledDisplay]="detailledDisplay"></app-choice-table>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="date-choices" *ngIf="poll.kind == 'date'">
|
<div class="date-choices" *ngIf="poll.kind == 'date'">
|
||||||
<div class="rounded-block" *ngFor="let group of poll.choices_grouped">
|
<div class="rounded-block" *ngFor="let group of poll.choices_grouped">
|
||||||
<div class="date-label">
|
<div class="date-label">
|
||||||
{{ showAsDate(group.date_string) | date: 'fullDate':'Europe/Paris' }}
|
{{ showAsDate(group.date_string) | date : 'fullDate' : 'Europe/Paris' }}
|
||||||
</div>
|
</div>
|
||||||
<div class="list-of-choices">
|
<div class="list-of-choices">
|
||||||
<div class="date-choices">
|
<div class="date-choices">
|
||||||
|
Loading…
Reference in New Issue
Block a user