show counter in show new button on mobile
This commit is contained in:
parent
373fb077a8
commit
3aadad3013
3 changed files with 25 additions and 1 deletions
|
|
@ -69,6 +69,13 @@ const Timeline = {
|
|||
return `${this.$t('timeline.show_new')} (${this.newStatusCount})`
|
||||
}
|
||||
},
|
||||
mobileLoadButtonString () {
|
||||
if (this.timeline.flushMarker !== 0) {
|
||||
return '+'
|
||||
} else {
|
||||
return this.newStatusCount > 99 ? '∞' : this.newStatusCount
|
||||
}
|
||||
},
|
||||
classes () {
|
||||
let rootClasses = !this.embedded ? ['panel', 'panel-default'] : ['-nonpanel']
|
||||
if (this.blockingClicks) rootClasses = rootClasses.concat(['-blocked', '_misclick-prevention'])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue