diff --git a/src/addon/mod/forum/providers/forum.ts b/src/addon/mod/forum/providers/forum.ts index 4118db0f1..a758f22f2 100644 --- a/src/addon/mod/forum/providers/forum.ts +++ b/src/addon/mod/forum/providers/forum.ts @@ -539,7 +539,15 @@ export class AddonModForumProvider { unread: !post.postread, isprivatereply: !!post.isprivatereply, - tags: post.tags + tags: (post.tags || []).map((tag) => { + return { + id: tag.taginstanceid, + tagid: tag.id, + isstandard: tag.isstandard, + displayname: tag.rawname, + flag: !!tag.flag, + }; + }), }; if (post.groupname) { diff --git a/src/core/tag/components/list/core-tag-list.html b/src/core/tag/components/list/core-tag-list.html index 7e6372e20..60035d009 100644 --- a/src/core/tag/components/list/core-tag-list.html +++ b/src/core/tag/components/list/core-tag-list.html @@ -1,3 +1,3 @@ - {{ tag.rawname }} + {{ tag.displayname }}