From 2388c1a1ce5a89bb3b8309663fa1b5c2efe8fc8c Mon Sep 17 00:00:00 2001 From: mst Date: Fri, 28 Feb 2025 07:14:51 +0300 Subject: [PATCH] fix --- templates/inbox.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/inbox.html b/templates/inbox.html index 4daccb1..478411a 100644 --- a/templates/inbox.html +++ b/templates/inbox.html @@ -161,7 +161,7 @@ const questions = document.querySelectorAll('.question'); const count = questions.length; document.getElementById('question-count-inbox').textContent = count; - document.title = `Inbox (${count}) | {{ const.appName }}`; + document.title = `Inbox (${count}) | {{ const.appName }}` ? count > 0 : "Inbox | {{ const.appName }}"; } } })