MOBILE-2567 forum: Show locked discussion warning for teachers

main
Pau Ferrer Ocaña 2018-09-04 12:51:27 +02:00
parent 050dbaa6ca
commit 2c54c12a01
1 changed files with 1 additions and 1 deletions

View File

@ -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);
} }