From aa0b5ff8507acf5c995356fdc076355f3b1b8826 Mon Sep 17 00:00:00 2001 From: laurell seville Date: Fri, 15 Nov 2024 00:08:03 +0000 Subject: [PATCH] fix: remove new avatar type --- .../js/Pages/Settings/Preferences/Partials/AvatarStyles.vue | 2 +- resources/js/Shared/Avatar.vue | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/js/Pages/Settings/Preferences/Partials/AvatarStyles.vue b/resources/js/Pages/Settings/Preferences/Partials/AvatarStyles.vue index 5b8eb8339ff..b44d40c9489 100644 --- a/resources/js/Pages/Settings/Preferences/Partials/AvatarStyles.vue +++ b/resources/js/Pages/Settings/Preferences/Partials/AvatarStyles.vue @@ -118,7 +118,7 @@ export default { computed: { avatarData() { const dicebearAvatar = { - type: 'dicebear', + type: 'url', content: `https://api.dicebear.com/9.x/${this.form.avatarStyle}/svg?seed=${this.$page.props.auth.user?.name}`, }; return this.form.avatarStyle ? dicebearAvatar : this.data.default_avatar; diff --git a/resources/js/Shared/Avatar.vue b/resources/js/Shared/Avatar.vue index 4bec3561f04..57b496afee6 100644 --- a/resources/js/Shared/Avatar.vue +++ b/resources/js/Shared/Avatar.vue @@ -7,6 +7,5 @@ defineProps({