From d032ce2758cb57ea34e1fea2d1804656965b635e Mon Sep 17 00:00:00 2001 From: Edijs Date: Mon, 18 Feb 2019 18:32:20 -0700 Subject: [PATCH] Validate if there are any new status to show --- src/components/timeline/timeline.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js index d7f7029e..06832898 100644 --- a/src/components/timeline/timeline.js +++ b/src/components/timeline/timeline.js @@ -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 })