aboutsummaryrefslogtreecommitdiff
path: root/src/components/mentions/mentions.js
diff options
context:
space:
mode:
authorShpuld Shpuldson <shpuld@gmail.com>2017-03-09 12:59:53 -0500
committerShpuld Shpuldson <shpuld@gmail.com>2017-03-09 12:59:53 -0500
commit11e41d5ea9dca3d1de045f8d2c3e7b57f9d5530b (patch)
tree26267ffa2204dd40b1b9f29c13f937dc40551146 /src/components/mentions/mentions.js
parent7aa1f02e388796942d3f711796497e76b9fcdaac (diff)
parentd669c37f13409bf3ab57ccdf100c5ef860861e36 (diff)
Merge branch 'fix/mentions-timeline' into 'develop'
Fix/mentions timeline See merge request !58
Diffstat (limited to 'src/components/mentions/mentions.js')
-rw-r--r--src/components/mentions/mentions.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/components/mentions/mentions.js b/src/components/mentions/mentions.js
index 46a1c63e..841d5aa4 100644
--- a/src/components/mentions/mentions.js
+++ b/src/components/mentions/mentions.js
@@ -2,25 +2,12 @@ import Timeline from '../timeline/timeline.vue'
const Mentions = {
computed: {
- username () {
- return this.$route.params.username
- },
timeline () {
return this.$store.state.statuses.timelines.mentions
}
},
components: {
Timeline
- },
- created () {
- this.$store.state.api.backendInteractor.fetchMentions({username: this.username})
- .then((mentions) => {
- this.$store.dispatch('addNewStatuses', {
- statuses: mentions,
- timeline: 'mentions',
- showImmediately: true
- })
- })
}
}