mirror of
https://codeberg.org/catask-org/catask.git
synced 2025-04-18 21:03:41 -05:00
fix inbox title
This commit is contained in:
parent
f824a88dd9
commit
a1186b5c2d
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@
|
|||
const questions = document.querySelectorAll('.question');
|
||||
const count = questions.length;
|
||||
document.getElementById('question-count-inbox').textContent = count;
|
||||
document.title = `Inbox (${count}) | {{ const.appName }}` ? count > 0 : "Inbox | {{ const.appName }}";
|
||||
document.title = count > 0 ? `{{ _("Inbox") }} (${count}) | {{ const.appName }}` : "{{ _('Inbox') }} | {{ const.appName }}";
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue