From a51b57258e66de0c4628c1d90929f60b816fcb80 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Mon, 13 May 2024 03:47:09 -0700
Subject: feat(badges): remove source from tooltip

---
 src/lib/User/BadgeWall/FallbackBadge.svelte | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'src/lib/User/BadgeWall/FallbackBadge.svelte')

diff --git a/src/lib/User/BadgeWall/FallbackBadge.svelte b/src/lib/User/BadgeWall/FallbackBadge.svelte
index 829cb71b..8317b2e0 100644
--- a/src/lib/User/BadgeWall/FallbackBadge.svelte
+++ b/src/lib/User/BadgeWall/FallbackBadge.svelte
@@ -1,4 +1,5 @@
 <script lang="ts">
+	import { classifyDesignerName } from './badge';
 	import locale from '$stores/locale';
 	import { tweened } from 'svelte/motion';
 	import type { Badge } from '../../Database/userBadges';
@@ -67,8 +68,8 @@
 		content={`${dev && !awc ? `${badge.id}\n` : ''}${
 			badge.time ? $locale().dateFormatter(databaseTimeToDate(badge.time)) : ''
 		}${badge.description ? `${awc ? '' : '\n'}${badge.description}` : ''}${
-			badge.designer ? `\nDesigner: ${badge.designer}` : ''
-		}${badge.source ? `\nSource: ${badge.source}` : ''}`}
+			badge.designer ? `\nDesigner: ${classifyDesignerName(badge.designer)}` : ''
+		}`}
 		pin={`badge-${awc ? index : badge.id}`}
 		pinPosition="top"
 		relative
-- 
cgit v1.2.3

