Merge branch 'remove-karma-from-search' of https://github.com/jmarthernandez/lemmy into jmarthernandez-remove-karma-from-search

This commit is contained in:
Dessalines 2020-07-11 19:16:44 -04:00
commit f3119b5b3a
2 changed files with 7 additions and 5 deletions

View File

@ -356,10 +356,12 @@ 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>
</div> </div>
</div> </div>

View File

@ -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_} />}