MOBILE-3205 forum: Fix discussion actions search

main
Pau Ferrer Ocaña 2019-11-21 13:43:59 +01:00
parent 9846e40c8c
commit 91cd0d837c
1 changed files with 1 additions and 1 deletions

View File

@ -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) {