MOBILE-3205 forum: Fix discussion actions search
parent
9846e40c8c
commit
91cd0d837c
|
@ -114,7 +114,7 @@ export class AddonModForumIndexComponent extends CoreCourseModuleMainActivityCom
|
|||
if (data.discussionId) {
|
||||
// Discussion changed, search it in the list of discussions.
|
||||
const discussion = this.discussions.find((disc) => {
|
||||
return data.discussionId = disc.discussion;
|
||||
return data.discussionId == disc.discussion;
|
||||
});
|
||||
|
||||
if (discussion) {
|
||||
|
|
Loading…
Reference in New Issue