Make use of backend reply filtering

This commit is contained in:
Shpuld Shpuldson 2020-06-30 17:02:38 +03:00
parent 82944f862d
commit ea09bbecf8
8 changed files with 27 additions and 38 deletions

View file

@ -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
>