This commit is contained in:
mst 2025-02-28 07:14:51 +03:00
parent cb22ef5c23
commit 2388c1a1ce
No known key found for this signature in database

View file

@ -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 }}";
}
}
})