diff --git a/website3.0/components/forumpage/ForumPost.js b/website3.0/components/forumpage/ForumPost.js index 226523e8..51db68e8 100644 --- a/website3.0/components/forumpage/ForumPost.js +++ b/website3.0/components/forumpage/ForumPost.js @@ -407,7 +407,7 @@ function ForumPost({theme,id,finalUser,setMsg,setIsPopup}) { )} -
{issue.tags?.map((data)=>#{data})}
+
{issue.tags?.map((data)=>{data})}
diff --git a/website3.0/pages/ForumPage.js b/website3.0/pages/ForumPage.js index 8ff3757e..f844a7e3 100644 --- a/website3.0/pages/ForumPage.js +++ b/website3.0/pages/ForumPage.js @@ -577,7 +577,7 @@ useEffect(()=>{
{ issue.tags.slice(0,tags.length>4?4:tags.length).map((data)=>{ - return #{data} + return {data} }) }
@@ -589,7 +589,10 @@ useEffect(()=>{
- {issue?.relatedUser.map((user, idx) => { + { + issue?.relatedUser.length>4&&+ {issue?.relatedUser.length-4} + } + {issue?.relatedUser.slice(0,issue?.relatedUser.length>4?4:issue?.relatedUser.length).map((user, idx) => { return router.push(`/profile?id=${user.authorId}`)}