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:
commit
7ab8021a9d
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue