fix(notification): update unread count display and improve HTML rendering

This commit is contained in:
Andras Bacsai
2025-08-19 14:14:16 +02:00
parent 38c0641734
commit 5725db95f9
2 changed files with 4 additions and 4 deletions

View File

@@ -131,7 +131,7 @@
</div>
<span
class="bg-error text-white text-xs rounded-full w-5 h-5 flex items-center justify-center">
{{ $unreadCount > 9 ? '9+' : $unreadCount }}
{{ $unreadCount > 9 ? '*' : $unreadCount }}
</span>
</button>
@else
@@ -302,8 +302,8 @@
<span class="text-xs dark:text-neutral-400"
x-text="new Date(entry.published_at).toLocaleDateString('en-US', { month: 'short', day: 'numeric', year: 'numeric' })"></span>
</div>
<div class="dark:text-neutral-300 leading-relaxed max-w-none"
x-html="window.sanitizeHTML(entry.content_html)">
<div class="dark:text-neutral-300 leading-relaxed max-w-none"
x-html="entry.content_html">
</div>
</div>

View File

@@ -69,7 +69,7 @@
</p>
<div class="flex flex-col pt-4" x-show="showProgress">
<h2>Progress <x-loading /></h2>
<div x-html="window.sanitizeHTML(currentStatus)"></div>
<div x-html="currentStatus"></div>
</div>
</div>
<div class="flex gap-4" x-show="!showProgress">