Skip to content
Snippets Groups Projects
Commit e1ec01dc authored by eal's avatar eal
Browse files

Appease linter.

parent ccfc2e57
No related branches found
No related tags found
No related merge requests found
......@@ -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 }))
......
......@@ -20,11 +20,11 @@ const UserProfile = {
} else {
return false
}
},
}
},
components: {
UserCardContent,
Timeline,
Timeline
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment