From 3966c70da965d507f94b38b9d49980e5577132ba Mon Sep 17 00:00:00 2001 From: silberengel Date: Sun, 10 Aug 2025 21:56:34 +0200 Subject: [PATCH] Fixed some minor errors in the notifications --- src/lib/components/Notifications.svelte | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/src/lib/components/Notifications.svelte b/src/lib/components/Notifications.svelte index f1e19fa..b4b2369 100644 --- a/src/lib/components/Notifications.svelte +++ b/src/lib/components/Notifications.svelte @@ -745,7 +745,7 @@
- Filtered by user: {@render userBadge(filteredByUser, authorProfiles.get(filteredByUser)?.displayName || authorProfiles.get(filteredByUser)?.name)} + Filtered by user: @{authorProfiles.get(filteredByUser)?.displayName || authorProfiles.get(filteredByUser)?.name || filteredByUser?.slice(0, 8) + "..." + filteredByUser?.slice(-4) || "Unknown"}
@@ -898,7 +898,7 @@
{/if} - {@render userBadge(notification.pubkey, authorProfile?.displayName || authorProfile?.name)} + @{authorProfile?.displayName || authorProfile?.name || notification.pubkey.slice(0, 8) + "..." + notification.pubkey.slice(-4)} @@ -1000,7 +1000,7 @@
{#each selectedRecipients as recipient} - {@render userBadge(recipient.pubkey!, recipient.displayName || recipient.name)} + @{recipient.displayName || recipient.name || recipient.pubkey?.slice(0, 8) + "..." + recipient.pubkey?.slice(-4) || "Unknown"}