MOBILE-3120 survey: Don't display description if survey is done

main
Albert Gasset 2019-09-06 16:35:26 +02:00
parent eb8f286d59
commit caa8ee7663
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@
<!-- Content. --> <!-- Content. -->
<core-loading [hideUntil]="loaded" class="core-loading-center"> <core-loading [hideUntil]="loaded" class="core-loading-center">
<core-course-module-description [description]="description" [component]="component" [componentId]="componentId"></core-course-module-description> <core-course-module-description *ngIf="survey && !survey.surveydone && !hasOffline" [description]="description" [component]="component" [componentId]="componentId"></core-course-module-description>
<!-- Survey already done --> <!-- Survey already done -->
<ion-card padding *ngIf="survey && survey.surveydone"> <ion-card padding *ngIf="survey && survey.surveydone">