Fix sidebar on mobile ui

This commit is contained in:
wvffle 2022-07-22 00:25:39 +00:00 committed by Georg Krause
parent a7f4df68ea
commit 9234720710
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ onMounted(() => {
@click.prevent.exact="showUserModal = !showUserModal"
>
<img
v-if="$store.state.auth.authenticated && $store.state.auth.profile?.avatar.urls.medium_square_crop"
v-if="$store.state.auth.authenticated && $store.state.auth.profile?.avatar?.urls.medium_square_crop"
class="ui avatar image"
alt=""
:src="$store.getters['instance/absoluteUrl']($store.state.auth.profile?.avatar.urls.medium_square_crop)"