From eab256a7e5ed540f07be3018f9ae593fc6d2d880 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Fri, 28 Oct 2016 15:40:13 +0200 Subject: New status showing. --- src/components/friends_timeline/friends_timeline.vue | 2 +- src/components/public_timeline/public_timeline.vue | 2 +- src/components/timeline/timeline.js | 8 +++++++- src/components/timeline/timeline.vue | 7 +++++++ 4 files changed, 16 insertions(+), 3 deletions(-) (limited to 'src/components') diff --git a/src/components/friends_timeline/friends_timeline.vue b/src/components/friends_timeline/friends_timeline.vue index 03e518c6..af8ba5fe 100644 --- a/src/components/friends_timeline/friends_timeline.vue +++ b/src/components/friends_timeline/friends_timeline.vue @@ -2,7 +2,7 @@
Friends Timeline
- +
diff --git a/src/components/public_timeline/public_timeline.vue b/src/components/public_timeline/public_timeline.vue index 4aab0943..22a2a2b8 100644 --- a/src/components/public_timeline/public_timeline.vue +++ b/src/components/public_timeline/public_timeline.vue @@ -2,7 +2,7 @@
Public Timeline
- +
diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js index fd36d0db..433bca11 100644 --- a/src/components/timeline/timeline.js +++ b/src/components/timeline/timeline.js @@ -2,10 +2,16 @@ import Status from '../status/status.vue' const Timeline = { props: [ - 'timeline' + 'timeline', + 'timelineName' ], components: { Status + }, + methods: { + showNewStatuses () { + this.$store.commit('showNewStatuses', { timeline: this.timelineName }) + } } } diff --git a/src/components/timeline/timeline.vue b/src/components/timeline/timeline.vue index 562656f6..216982f6 100644 --- a/src/components/timeline/timeline.vue +++ b/src/components/timeline/timeline.vue @@ -1,5 +1,12 @@ -- cgit v1.2.3-70-g09d2