Merge branch 'fix/avatar-link' into 'develop'

Fix avatar link in search result

See merge request pleroma/pleroma-fe!534
This commit is contained in:
HJ 2019-02-05 22:46:45 +00:00
commit 3d337a239e

View File

@ -1,8 +1,8 @@
<template> <template>
<div class="card"> <div class="card">
<a href="#"> <router-link :to="userProfileLink(user)">
<UserAvatar class="avatar" :compact="true" @click.prevent.native="toggleUserExpanded" :src="user.profile_image_url"/> <UserAvatar class="avatar" :compact="true" @click.prevent.native="toggleUserExpanded" :src="user.profile_image_url"/>
</a> </router-link>
<div class="usercard" v-if="userExpanded"> <div class="usercard" v-if="userExpanded">
<user-card-content :user="user" :switcher="false"></user-card-content> <user-card-content :user="user" :switcher="false"></user-card-content>
</div> </div>