From 2f561149fa7dd6313752a236428e44bccdec7598 Mon Sep 17 00:00:00 2001 From: Jon Staab Date: Thu, 17 Oct 2024 15:58:18 -0700 Subject: [PATCH] Apply mutes --- src/app/components/NoteCard.svelte | 39 ++++++++++++++++++++++-------- 1 file changed, 29 insertions(+), 10 deletions(-) diff --git a/src/app/components/NoteCard.svelte b/src/app/components/NoteCard.svelte index 2170d233..e12aadc5 100644 --- a/src/app/components/NoteCard.svelte +++ b/src/app/components/NoteCard.svelte @@ -1,8 +1,11 @@
-
- {#if !hideProfile} - - {/if} - - {formatTimestamp(event.created_at)} - -
- + {#if muted} +
+
+ +

You have muted this person.

+

+ +
+ {:else} +
+ {#if !hideProfile} + + {/if} + + {formatTimestamp(event.created_at)} + +
+ + {/if}