Compare commits
1 commit
cybrespace
...
feature_di
Author | SHA1 | Date | |
---|---|---|---|
8dd00194a8 |
1 changed files with 1 additions and 9 deletions
|
@ -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 () {
|
||||
|
|
Loading…
Add table
Reference in a new issue