fix: temp fix for null metadata

This commit is contained in:
yawhn 2023-07-02 16:16:01 +03:00
parent b5907fb86d
commit f74c968714

View File

@ -33,7 +33,7 @@
@click="showTabsPopup" @click="showTabsPopup"
> >
<MkAvatar <MkAvatar
v-if="metadata.avatar" v-if="metadata && metadata.avatar"
class="avatar" class="avatar"
:user="metadata.avatar" :user="metadata.avatar"
:show-indicator="true" :show-indicator="true"
@ -91,7 +91,7 @@
</nav> </nav>
</template> </template>
<div class="buttons right"> <div class="buttons right">
<template v-if="metadata.avatar"> <template v-if="metadata && metadata.avatar">
<MkFollowButton <MkFollowButton
v-if="narrow" v-if="narrow"
:user="metadata.avatar" :user="metadata.avatar"