minor fixes

This commit is contained in:
Shpuld Shpuldson 2020-04-23 14:27:27 +03:00
parent 99d8e16e4d
commit ca00e93b60
4 changed files with 4 additions and 4 deletions

View file

@ -17,10 +17,9 @@
</template> </template>
<template v-else> <template v-else>
<FollowButton <FollowButton
:user="user"
:relationship="relationship" :relationship="relationship"
class="follow-card-follow-button"
:label-following="$t('user_card.follow_unfollow')" :label-following="$t('user_card.follow_unfollow')"
class="follow-card-follow-button"
/> />
</template> </template>
</div> </div>

View file

@ -19,7 +19,7 @@
> >
<UserCard <UserCard
v-if="currentUser" v-if="currentUser"
:userId="currentUser.id" :user-id="currentUser.id"
:hide-bio="true" :hide-bio="true"
/> />
<div <div

View file

@ -94,7 +94,7 @@
<div class="status-body"> <div class="status-body">
<UserCard <UserCard
v-if="userExpanded" v-if="userExpanded"
:userId="status.user.id" :user-id="status.user.id"
:rounded="true" :rounded="true"
:bordered="true" :bordered="true"
class="status-usercard" class="status-usercard"

View file

@ -336,6 +336,7 @@ export const parseNotification = (data) => {
} }
const masto = !data.hasOwnProperty('ntype') const masto = !data.hasOwnProperty('ntype')
const output = {} const output = {}
if (masto) { if (masto) {
output.type = mastoDict[data.type] || data.type output.type = mastoDict[data.type] || data.type
output.seen = data.pleroma.is_seen output.seen = data.pleroma.is_seen