Client - minor refactoring

This commit is contained in:
Sam
2021-11-01 20:48:22 +01:00
parent e7feb25bfa
commit 8b74138447
31 changed files with 66 additions and 82 deletions

View File

@ -2,7 +2,7 @@
<div class="user-picture">
<img
v-if="authUserPictureUrl !== ''"
class="nav-profile-user-img"
class="profile-user-img"
:alt="$t('user.USER_PICTURE')"
:src="authUserPictureUrl"
/>
@ -30,7 +30,7 @@
return {
authUserPictureUrl: computed(() =>
props.user.picture
? `${getApiUrl()}users/${props.user.username}/picture?${Date.now()}`
? `${getApiUrl()}users/${props.user.username}/picture`
: ''
),
}