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"
>
<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"