forked from EVOgeek/Vmeda.Online
MOBILE-3039 data: Don't display error when comments are disabled
parent
09b95dbd97
commit
b7088b6886
|
@ -31,7 +31,7 @@
|
|||
<core-rating-rate *ngIf="data && entry && ratingInfo && (!data.approval || entry.approved)" [ratingInfo]="ratingInfo" contextLevel="module" [instanceId]="data.coursemodule" [itemId]="entry.id" [itemSetId]="0" [courseId]="courseId" [aggregateMethod]="data.assessed" [scaleId]="data.scale" [userId]="entry.userid" (onLoading)="setLoadingRating($event)" (onUpdate)="ratingUpdated()"></core-rating-rate>
|
||||
<core-rating-aggregate *ngIf="data && entry && ratingInfo" [ratingInfo]="ratingInfo" contextLevel="module" [instanceId]="data.coursemodule" [itemId]="entry.id" [courseId]="courseId" [aggregateMethod]="data.assessed" [scaleId]="data.scale"></core-rating-aggregate>
|
||||
|
||||
<ion-item *ngIf="data && entry && entry.id > 0 && commentsEnabled">
|
||||
<ion-item *ngIf="data && data.comments && entry && entry.id > 0 && commentsEnabled">
|
||||
<core-comments contextLevel="module" [instanceId]="data.coursemodule" component="mod_data" [itemId]="entry.id" area="database_entry" [displaySpinner]="false" (onLoading)="setLoadingComments($event)"></core-comments>
|
||||
</ion-item>
|
||||
|
||||
|
|
Loading…
Reference in New Issue