aboutsummaryrefslogtreecommitdiff
path: root/src/components/timeline/timeline.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/timeline/timeline.js')
-rw-r--r--src/components/timeline/timeline.js8
1 files changed, 7 insertions, 1 deletions
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 })
+ }
}
}