Appease linter.
This commit is contained in:
parent
ccfc2e57d0
commit
e1ec01dc3e
|
@ -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 }))
|
||||||
|
|
|
@ -20,11 +20,11 @@ const UserProfile = {
|
||||||
} else {
|
} else {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
UserCardContent,
|
UserCardContent,
|
||||||
Timeline,
|
Timeline
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue