diff --git a/dashboard/src/api/types.ts b/dashboard/src/api/types.ts index 02bf220d..8ac50f13 100644 --- a/dashboard/src/api/types.ts +++ b/dashboard/src/api/types.ts @@ -57,6 +57,7 @@ export interface Member { birthday?: string; pronouns?: string; avatar_url?: string; + webhook_avatar_url?: string; banner?: string; description?: string; created?: string; diff --git a/dashboard/src/components/member/Body.svelte b/dashboard/src/components/member/Body.svelte index a424cd2a..954c314d 100644 --- a/dashboard/src/components/member/Body.svelte +++ b/dashboard/src/components/member/Body.svelte @@ -47,7 +47,10 @@ let bannerOpen = false; const toggleBannerModal = () => (bannerOpen = !bannerOpen); - + + let proxyAvatarOpen = false; + const toggleProxyAvatarModal = () => (proxyAvatarOpen = !proxyAvatarOpen); + let privacyOpen = false; const togglePrivacyModal = () => (privacyOpen = !privacyOpen); @@ -131,6 +134,16 @@ Color: {member.color} {/if} + {#if member.webhook_avatar_url} +