Disable unread notifications in window title

This commit is contained in:
chr 2019-10-13 13:22:21 -07:00
parent 633d175146
commit 03f1abe3b9
1 changed files with 1 additions and 9 deletions

View File

@ -23,15 +23,7 @@ class DocumentTitle extends PureComponent {
}
_sideEffects () {
const { unread } = this.props;
if (unread > 99) {
document.title = `(*) ${title}`;
} else if (unread > 0) {
document.title = `(${unread}) ${title}`;
} else {
document.title = title;
}
document.title = title;
}
render () {