From c5c7f106550bf4f3b7b5968baed1a23e819f1530 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Fri, 19 Apr 2024 17:06:56 -0700
Subject: fix(BadgePreview): don't show post when not set

---
 src/lib/BadgeWall/BadgePreview.svelte | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/lib/BadgeWall/BadgePreview.svelte')

diff --git a/src/lib/BadgeWall/BadgePreview.svelte b/src/lib/BadgeWall/BadgePreview.svelte
index ef5c8159..97ff46ec 100644
--- a/src/lib/BadgeWall/BadgePreview.svelte
+++ b/src/lib/BadgeWall/BadgePreview.svelte
@@ -107,7 +107,7 @@
 			<br />
 		{/if}
 
-		{#if selectedBadge.post}
+		{#if selectedBadge.post && selectedBadge.post !== '#'}
 			<b>{selectedBadge.post.includes('forum') ? 'Forum' : 'Activity'}:</b>
 
 			<a href={selectedBadge.post} target="_blank">
-- 
cgit v1.2.3

