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/%7B%60%24%7BwebArchiveUrl%7D/save/%22%7B%7D/static/%7Blink%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) && }