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

View file

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