fix(front): individual username initials in profile pic

environments/review-docs-feat-z0hkbz/deployments/20988
ArneBo 2025-04-02 23:32:21 +02:00
rodzic c7ba2a1c2e
commit 8190a67444
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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"