fix(notification): update unread count display and improve HTML rendering
This commit is contained in:
@@ -131,7 +131,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<span
|
<span
|
||||||
class="bg-error text-white text-xs rounded-full w-5 h-5 flex items-center justify-center">
|
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>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
@else
|
@else
|
||||||
@@ -302,8 +302,8 @@
|
|||||||
<span class="text-xs dark:text-neutral-400"
|
<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>
|
x-text="new Date(entry.published_at).toLocaleDateString('en-US', { month: 'short', day: 'numeric', year: 'numeric' })"></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="dark:text-neutral-300 leading-relaxed max-w-none"
|
<div class="dark:text-neutral-300 leading-relaxed max-w-none"
|
||||||
x-html="window.sanitizeHTML(entry.content_html)">
|
x-html="entry.content_html">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -69,7 +69,7 @@
|
|||||||
</p>
|
</p>
|
||||||
<div class="flex flex-col pt-4" x-show="showProgress">
|
<div class="flex flex-col pt-4" x-show="showProgress">
|
||||||
<h2>Progress <x-loading /></h2>
|
<h2>Progress <x-loading /></h2>
|
||||||
<div x-html="window.sanitizeHTML(currentStatus)"></div>
|
<div x-html="currentStatus"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex gap-4" x-show="!showProgress">
|
<div class="flex gap-4" x-show="!showProgress">
|
||||||
|
|||||||
Reference in New Issue
Block a user