forked from AkkomaGang/akkoma-fe
Appease linter.
This commit is contained in:
parent
ccfc2e57d0
commit
e1ec01dc3e
2 changed files with 4 additions and 5 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue