From e064d2da4de67ad42268f8eea0efd20646b3cb16 Mon Sep 17 00:00:00 2001 From: wakarimasen Date: Thu, 9 Mar 2017 13:38:32 +0100 Subject: Use one error variable for all timelines --- src/components/timeline/timeline.js | 3 +++ src/components/timeline/timeline.vue | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'src/components') diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js index b4e80fe1..d5a9adcc 100644 --- a/src/components/timeline/timeline.js +++ b/src/components/timeline/timeline.js @@ -8,6 +8,9 @@ const Timeline = { 'timelineName', 'title' ], + computed: { + timelineError () { return this.$store.state.statuses.error } + }, components: { Status, StatusOrConversation diff --git a/src/components/timeline/timeline.vue b/src/components/timeline/timeline.vue index ac074f3c..b1ff327b 100644 --- a/src/components/timeline/timeline.vue +++ b/src/components/timeline/timeline.vue @@ -4,13 +4,13 @@
{{title}}
- - - -- cgit v1.2.3-70-g09d2