From 2c54c12a01ce2a34d85a437421fa3fa7cf102688 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Tue, 4 Sep 2018 12:51:27 +0200 Subject: [PATCH] MOBILE-2567 forum: Show locked discussion warning for teachers --- src/addon/mod/forum/components/index/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/addon/mod/forum/components/index/index.ts b/src/addon/mod/forum/components/index/index.ts index 942c456ea..8ab76ab1f 100644 --- a/src/addon/mod/forum/components/index/index.ts +++ b/src/addon/mod/forum/components/index/index.ts @@ -412,7 +412,7 @@ export class AddonModForumIndexComponent extends CoreCourseModuleMainActivityCom forumId: this.forum.id, discussionId: discussion.discussion, trackPosts: this.trackPosts, - locked: discussion.locked && !discussion.canreply + locked: discussion.locked }; this.splitviewCtrl.push('AddonModForumDiscussionPage', params); }