From: Justin Hernandez Date: Sat, 11 Jul 2020 20:57:13 +0000 (-0500) Subject: Remove karma count from search results(fixes #853) X-Git-Url: http://these/git/%22%7Burl%7D/%22https:/image.com/%7B%60%24%7BghostArchiveUrl%7D/%7BimageSrc%7D?a=commitdiff_plain;h=f03161b7f94a4f6c39c6ce9c454c80a97dacec4d;p=lemmy.git Remove karma count from search results(fixes #853) --- diff --git a/ui/src/components/search.tsx b/ui/src/components/search.tsx index dd219ba9..c4cb9745 100644 --- a/ui/src/components/search.tsx +++ b/ui/src/components/search.tsx @@ -282,9 +282,6 @@ export class Search extends Component { }} /> - {` - ${ - (i.data as UserView).comment_score - } comment karma`} )} @@ -359,12 +356,13 @@ export class Search extends Component {
- {`/u/${user.name}`} + - {` - ${user.comment_score} comment karma`}
))} diff --git a/ui/src/components/user-listing.tsx b/ui/src/components/user-listing.tsx index 58475d3e..76196d47 100644 --- a/ui/src/components/user-listing.tsx +++ b/ui/src/components/user-listing.tsx @@ -52,7 +52,7 @@ export class UserListing extends Component { class="rounded-circle mr-2" /> )} - {name_} + {`/u/${name_}`} {isCakeDay(user.published) && }