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