MOBILE-3120 survey: Don't display description if survey is done
parent
eb8f286d59
commit
caa8ee7663
|
@ -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">
|
||||||
|
|
Loading…
Reference in New Issue