fix: temp fix for null metadata

This commit is contained in:
yawhn 2023-07-02 16:16:01 +03:00
parent c6821f0619
commit 4529d65f51

View File

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