fix(front): individual username initials in profile pic

This commit is contained in:
ArneBo 2025-04-02 23:32:21 +02:00
parent c7ba2a1c2e
commit 8190a67444
1 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ const tabs = ref([{
:style="defaultAvatarStyle"
class="ui avatar circular label"
>
{{ store.state.auth.profile?.full_username?.[0] || "" }}
{{ object?.full_username?.[0] || "" }}
</span>
</template>
<Layout flex>
@ -170,7 +170,7 @@ const tabs = ref([{
no-gap
>
<RenderedDescription
:content="{ html: object?.summary.html || '' }"
:content="{ html: object?.summary?.html || '' }"
:field-name="'summary'"
:update-url="`users/${store.state.auth.username}/`"
:can-update="store.state.auth.authenticated && object?.full_username === store.state.auth.fullUsername"