mirror of https://github.com/LemmyNet/lemmy.git
Remove karma count from search results(fixes #853)
parent
4b30b6d764
commit
f03161b7f9
|
@ -282,9 +282,6 @@ export class Search extends Component<any, SearchState> {
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
<span>{` - ${
|
|
||||||
(i.data as UserView).comment_score
|
|
||||||
} comment karma`}</span>
|
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
@ -359,12 +356,13 @@ export class Search extends Component<any, SearchState> {
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<span>
|
<span>
|
||||||
<Link
|
<UserListing
|
||||||
className="text-info"
|
user={{
|
||||||
to={`/u/${user.name}`}
|
name: user.name,
|
||||||
>{`/u/${user.name}`}</Link>
|
avatar: user.avatar,
|
||||||
|
}}
|
||||||
|
/>
|
||||||
</span>
|
</span>
|
||||||
<span>{` - ${user.comment_score} comment karma`}</span>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
|
|
|
@ -52,7 +52,7 @@ export class UserListing extends Component<UserListingProps, any> {
|
||||||
class="rounded-circle mr-2"
|
class="rounded-circle mr-2"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
<span>{name_}</span>
|
<span>{`/u/${name_}`}</span>
|
||||||
</Link>
|
</Link>
|
||||||
|
|
||||||
{isCakeDay(user.published) && <CakeDay creatorName={name_} />}
|
{isCakeDay(user.published) && <CakeDay creatorName={name_} />}
|
||||||
|
|
Loading…
Reference in New Issue