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
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue