MOBILE-3039 workshop: Fix template error

main
Albert Gasset 2019-06-06 15:24:33 +02:00
parent 037babba70
commit 05f0b0d62e
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@
<ion-item text-wrap *ngIf="!assessments || !assessments.length"> <ion-item text-wrap *ngIf="!assessments || !assessments.length">
<p>{{ 'addon.mod_workshop.assignedassessmentsnone' | translate }}</p> <p>{{ 'addon.mod_workshop.assignedassessmentsnone' | translate }}</p>
</ion-item> </ion-item>
<ng-container *ngFor="let assessment of assessments"> <ng-container *ngFor="let assessment of (assessments || [])">
<addon-mod-workshop-submission [submission]="assessment.submission" [assessment]="assessment" [courseId]="workshop.course" [module]="module" [workshop]="workshop" [access]="access" summary="true"></addon-mod-workshop-submission> <addon-mod-workshop-submission [submission]="assessment.submission" [assessment]="assessment" [courseId]="workshop.course" [module]="module" [workshop]="workshop" [access]="access" summary="true"></addon-mod-workshop-submission>
</ng-container> </ng-container>
</ion-card > </ion-card >