From 912be5aed9c8616d4c5772617ab4eef9a50d9061 Mon Sep 17 00:00:00 2001 From: shpuld Date: Wed, 22 Nov 2017 00:47:20 +0200 Subject: [PATCH] Make the timeline button use the correct func for its text. --- src/components/timeline/timeline.js | 2 +- src/components/timeline/timeline.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js index 9ef8406b..10ad4561 100644 --- a/src/components/timeline/timeline.js +++ b/src/components/timeline/timeline.js @@ -31,7 +31,7 @@ const Timeline = { return this.timeline.newStatusCount }, newStatusCountStr () { - if (this.timeline.flushMarker) { + if (this.timeline.flushMarker > 0) { return '' } else { return ` (${this.newStatusCount})` diff --git a/src/components/timeline/timeline.vue b/src/components/timeline/timeline.vue index 365c8236..9d2e1ea1 100644 --- a/src/components/timeline/timeline.vue +++ b/src/components/timeline/timeline.vue @@ -5,7 +5,7 @@ {{title}}
{{$t('timeline.error_fetching')}}