diff --git a/components/dashboard_notifications.templ b/components/dashboard_notifications.templ index 741069c..22dad7e 100644 --- a/components/dashboard_notifications.templ +++ b/components/dashboard_notifications.templ @@ -177,12 +177,15 @@ templ NotificationDropdown(data NotificationsData) { templ NotificationCount(count int64) { if count > 0 { -
+
if count > 99 { 99+ } else { { fmt.Sprintf("%d", count) } }
+ } else { + + } } \ No newline at end of file