forked from AkkomaGang/akkoma-fe
Validate if there are any new status to show
This commit is contained in:
parent
0d2922afb3
commit
d032ce2758
1 changed files with 2 additions and 0 deletions
|
@ -80,6 +80,8 @@ const Timeline = {
|
|||
if (e.key === '.') this.showNewStatuses()
|
||||
},
|
||||
showNewStatuses () {
|
||||
if (this.newStatusCount === 0) return
|
||||
|
||||
if (this.timeline.flushMarker !== 0) {
|
||||
this.$store.commit('clearTimeline', { timeline: this.timelineName })
|
||||
this.$store.commit('queueFlush', { timeline: this.timelineName, id: 0 })
|
||||
|
|
Loading…
Reference in a new issue