aboutsummaryrefslogtreecommitdiff
path: root/src/components/timeline/timeline.vue
diff options
context:
space:
mode:
authorShpuld Shpuldson <shp@cock.li>2020-06-30 17:02:38 +0300
committerShpuld Shpuldson <shp@cock.li>2020-06-30 17:02:38 +0300
commitea09bbecf8b7715a1242a104b6233a7c3b5ac588 (patch)
tree0657dab0a3c2b94741c87d6e7ef9f6f7526f4e8b /src/components/timeline/timeline.vue
parent82944f862d07db46cf342f2ee75b2ab6ddccc4fc (diff)
Make use of backend reply filtering
Diffstat (limited to 'src/components/timeline/timeline.vue')
-rw-r--r--src/components/timeline/timeline.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/timeline/timeline.vue b/src/components/timeline/timeline.vue
index 9777bd0c..bd8389b9 100644
--- a/src/components/timeline/timeline.vue
+++ b/src/components/timeline/timeline.vue
@@ -19,14 +19,14 @@
{{ errorData.statusText }}
</div>
<button
- v-if="timeline.newStatusCount > 0 && !timelineError && !errorData"
+ v-else-if="showLoadButton"
class="loadmore-button"
@click.prevent="showNewStatuses"
>
{{ $t('timeline.show_new') }}{{ newStatusCountStr }}
</button>
<div
- v-if="!timeline.newStatusCount > 0 && !timelineError && !errorData"
+ v-else
class="loadmore-text faint"
@click.prevent
>