aboutsummaryrefslogtreecommitdiff
path: root/src/components/mentions/mentions.js
diff options
context:
space:
mode:
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
- })
- })
}
}