diff options
| author | wakarimasen <wakarimasen@airmail.cc> | 2017-03-09 18:20:16 +0100 |
|---|---|---|
| committer | wakarimasen <wakarimasen@airmail.cc> | 2017-03-09 18:20:16 +0100 |
| commit | bfd530aaea75ab228d3ccc531de790cef2ddf332 (patch) | |
| tree | bc8d7eaa9b406fb083c22423b445e38bedbd88dc /src/components/mentions | |
| parent | 7aa1f02e388796942d3f711796497e76b9fcdaac (diff) | |
Let timeline component fetch mentions
Diffstat (limited to 'src/components/mentions')
| -rw-r--r-- | src/components/mentions/mentions.js | 13 |
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 - }) - }) } } |
