From 9199563fc86778316f9b46e8fa43d254413530f1 Mon Sep 17 00:00:00 2001 From: klngwll Date: Thu, 16 Mar 2023 10:32:30 +0100 Subject: [PATCH 1/3] Remove avatar source --- vue-client/src/components/shared/user-avatar.vue | 8 ++++---- vue-client/src/components/usersettings/user-settings.vue | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/vue-client/src/components/shared/user-avatar.vue b/vue-client/src/components/shared/user-avatar.vue index f221fa266..e5fe21fd8 100644 --- a/vue-client/src/components/shared/user-avatar.vue +++ b/vue-client/src/components/shared/user-avatar.vue @@ -55,14 +55,14 @@ export default { :style="{ width: `${size}px`, height: `${size}px` }"> Avatar {{ initials }} @@ -89,7 +89,7 @@ export default { border-color: @grey-dark; } - &-no-gravatar { + &-no-img { height: 100%; width: 100%; font-weight: 600; diff --git a/vue-client/src/components/usersettings/user-settings.vue b/vue-client/src/components/usersettings/user-settings.vue index 246b30475..a29e97c06 100644 --- a/vue-client/src/components/usersettings/user-settings.vue +++ b/vue-client/src/components/usersettings/user-settings.vue @@ -88,7 +88,6 @@ export default {

Din användarprofil är hämtad från Libris Login.
Vid frågor om rättigheter för sigel kontakta libris@kb.se. -
Profilbild sätts via gravatar.

From 86e957b852e498c30cae917a1c738630174b9b6d Mon Sep 17 00:00:00 2001 From: klngwll Date: Thu, 16 Mar 2023 10:32:49 +0100 Subject: [PATCH 2/3] Typo --- vue-client/src/components/shared/user-avatar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vue-client/src/components/shared/user-avatar.vue b/vue-client/src/components/shared/user-avatar.vue index e5fe21fd8..ffdbb3c66 100644 --- a/vue-client/src/components/shared/user-avatar.vue +++ b/vue-client/src/components/shared/user-avatar.vue @@ -58,7 +58,7 @@ export default { class="UserAvatar-img" alt="Avatar" :style="{ width: `${size}px`, height: `${size}px` }" - :src="``" + :src="" @error="hasAvatar = false" /> Date: Thu, 16 Mar 2023 13:15:39 +0100 Subject: [PATCH 3/3] Comment out img element --- vue-client/src/components/shared/user-avatar.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vue-client/src/components/shared/user-avatar.vue b/vue-client/src/components/shared/user-avatar.vue index ffdbb3c66..3cde90c09 100644 --- a/vue-client/src/components/shared/user-avatar.vue +++ b/vue-client/src/components/shared/user-avatar.vue @@ -53,6 +53,7 @@ export default { class="UserAvatar" :class="[this.appearance]" :style="{ width: `${size}px`, height: `${size}px` }"> +