From a6526b7f00ecfc6d27f97cad7e41d0e57d661cba Mon Sep 17 00:00:00 2001 From: Jake Date: Mon, 5 Jun 2023 12:43:33 +0200 Subject: [PATCH] feat: add unlisted member indicator to member list --- frontend/src/lib/components/PartialMemberCard.svelte | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/frontend/src/lib/components/PartialMemberCard.svelte b/frontend/src/lib/components/PartialMemberCard.svelte index 1d883d9..f60dc57 100644 --- a/frontend/src/lib/components/PartialMemberCard.svelte +++ b/frontend/src/lib/components/PartialMemberCard.svelte @@ -6,10 +6,13 @@ type User, type CustomPreferences, } from "$lib/api/entities"; + import { Icon } from "sveltestrap"; import FallbackImage from "./FallbackImage.svelte"; export let user: User; - export let member: PartialMember; + export let member: PartialMember & { + unlisted?: boolean + }; let pronouns: string | undefined; @@ -46,6 +49,9 @@

{member.display_name ?? member.name} + {#if member.unlisted === true} + + {/if} {#if pronouns}