fix(notification): update unread count display and improve HTML rendering
This commit is contained in:
		@@ -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>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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">
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user