aboutsummaryrefslogtreecommitdiff
path: root/src/components/mentions/mentions.js
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-03-10 13:27:58 +0100
committerRoger Braun <roger@rogerbraun.net>2017-03-10 13:27:58 +0100
commit112adcf8f83e1bd8dd347ef8ee4de46060b53341 (patch)
treeaa6288f000d72dfd2f166642d413637a77f1aa42 /src/components/mentions/mentions.js
parent0eeccb87cef4d137710e3c7fd215b94e45aff3d1 (diff)
parent33f72ab2c215ebd7709edaf7a63062aabe8363cc (diff)
Merge branch 'develop' into feature/hash-routed
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
- })
- })
}
}