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