aboutsummaryrefslogtreecommitdiff
path: root/src/components/timeline/timeline.vue
diff options
context:
space:
mode:
authorShpuld Shpuldson <shpuld@gmail.com>2017-03-09 08:06:59 -0500
committerShpuld Shpuldson <shpuld@gmail.com>2017-03-09 08:06:59 -0500
commit7aa1f02e388796942d3f711796497e76b9fcdaac (patch)
tree38208477040e73478bb32cdf0eeff42f6a8d2875 /src/components/timeline/timeline.vue
parent0ce747d2c3fb20affb03a0ce102caeb15b84032a (diff)
parente064d2da4de67ad42268f8eea0efd20646b3cb16 (diff)
Merge branch 'feature/timeline-fetch-error' into 'develop'
Use one error variable for all timelines See merge request !57
Diffstat (limited to 'src/components/timeline/timeline.vue')
-rw-r--r--src/components/timeline/timeline.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/timeline/timeline.vue b/src/components/timeline/timeline.vue
index 2b240faa..84defac7 100644
--- a/src/components/timeline/timeline.vue
+++ b/src/components/timeline/timeline.vue
@@ -4,13 +4,13 @@
<div class="title">
{{title}}
</div>
- <button @click.prevent="showNewStatuses" class="base06 base02-background loadmore-button" v-if="timeline.newStatusCount > 0 && !timeline.error">
+ <button @click.prevent="showNewStatuses" class="base06 base02-background loadmore-button" v-if="timeline.newStatusCount > 0 && !timelineError">
Show new ({{timeline.newStatusCount}})
</button>
- <button @click.prevent class="base06 error no-press loadmore-button" v-if="timeline.error">
+ <button @click.prevent class="base06 error no-press loadmore-button" v-if="timelineError">
Error fetching updates
</button>
- <button @click.prevent class="base04 base01-background no-press loadmore-button" v-if="!timeline.newStatusCount > 0 && !timeline.error">
+ <button @click.prevent class="base04 base01-background no-press loadmore-button" v-if="!timeline.newStatusCount > 0 && !timelineError">
Up-to-date
</button>
</div>