Appease linter.

This commit is contained in:
eal 2017-08-23 19:21:15 +03:00
parent ccfc2e57d0
commit e1ec01dc3e
2 changed files with 4 additions and 5 deletions

View file

@ -8,7 +8,6 @@ const Timeline = {
'timeline', 'timeline',
'timelineName', 'timelineName',
'title', 'title',
'showingStatuses',
'userId' 'userId'
], ],
computed: { computed: {
@ -66,12 +65,12 @@ const Timeline = {
userId: this.userId userId: this.userId
}).then(() => store.commit('setLoading', { timeline: this.timelineName, value: false })) }).then(() => store.commit('setLoading', { timeline: this.timelineName, value: false }))
}, },
fetchFollowers() { fetchFollowers () {
const id = this.userId const id = this.userId
this.$store.state.api.backendInteractor.fetchFollowers({ id }) this.$store.state.api.backendInteractor.fetchFollowers({ id })
.then((followers) => this.$store.dispatch('addFollowers', { followers })) .then((followers) => this.$store.dispatch('addFollowers', { followers }))
}, },
fetchFriends() { fetchFriends () {
const id = this.userId const id = this.userId
this.$store.state.api.backendInteractor.fetchFriends({ id }) this.$store.state.api.backendInteractor.fetchFriends({ id })
.then((friends) => this.$store.dispatch('addFriends', { friends })) .then((friends) => this.$store.dispatch('addFriends', { friends }))

View file

@ -20,11 +20,11 @@ const UserProfile = {
} else { } else {
return false return false
} }
}, }
}, },
components: { components: {
UserCardContent, UserCardContent,
Timeline, Timeline
} }
} }