Merge pull request '[PR]: Temp fix for null metadata' (#10390) from yawhn/trickey:fix_avatar_errors into develop

Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10390
This commit is contained in:
Kainoa Kanter 2023-07-02 22:54:56 +00:00
commit 1d23f3c904

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"