File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/addon/mod/data/pages/entry Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 3131 < 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 >
3232 < 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 >
3333
34- < ion-item *ngIf ="data && entry && entry.id > 0 && commentsEnabled ">
34+ < ion-item *ngIf ="data && data.comments && entry && entry.id > 0 && commentsEnabled ">
3535 < core-comments contextLevel ="module " [instanceId] ="data.coursemodule " component ="mod_data " [itemId] ="entry.id " area ="database_entry " [displaySpinner] ="false " (onLoading) ="setLoadingComments($event) "> </ core-comments >
3636 </ ion-item >
3737
You can’t perform that action at this time.
0 commit comments