MOBILE-2567 forum: Show locked discussion warning for teachers
parent
050dbaa6ca
commit
2c54c12a01
|
@ -412,7 +412,7 @@ export class AddonModForumIndexComponent extends CoreCourseModuleMainActivityCom
|
||||||
forumId: this.forum.id,
|
forumId: this.forum.id,
|
||||||
discussionId: discussion.discussion,
|
discussionId: discussion.discussion,
|
||||||
trackPosts: this.trackPosts,
|
trackPosts: this.trackPosts,
|
||||||
locked: discussion.locked && !discussion.canreply
|
locked: discussion.locked
|
||||||
};
|
};
|
||||||
this.splitviewCtrl.push('AddonModForumDiscussionPage', params);
|
this.splitviewCtrl.push('AddonModForumDiscussionPage', params);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue