change Show New text to Reload when flushing

This commit is contained in:
Shpuld Shpuldson 2020-06-30 17:37:36 +03:00
parent ea09bbecf8
commit 38d8526660
3 changed files with 5 additions and 4 deletions

View file

@ -49,11 +49,11 @@ const Timeline = {
if (this.timelineError || this.errorData) return false
return this.timeline.newStatusCount > 0 || this.timeline.flushMarker !== 0
},
newStatusCountStr () {
loadButtonString () {
if (this.timeline.flushMarker !== 0) {
return ''
return this.$t('timeline.reload')
} else {
return ` (${this.newStatusCount})`
return `${this.$t('timeline.show_new')} (${this.newStatusCount})`
}
},
classes () {