fetch parent post boost users information
This commit is contained in:
parent
44d07ceb25
commit
d19bee0b66
1 changed files with 2 additions and 2 deletions
|
@ -153,7 +153,7 @@ const conversation = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
fetchFavouritedByUsers (id) {
|
fetchFavouritedByUsers (id) {
|
||||||
this.$store.state.api.backendInteractor.fetchFavouritedByUsers({id: this.status.id}).then((response) => {
|
this.$store.state.api.backendInteractor.fetchFavouritedByUsers({id}).then((response) => {
|
||||||
const favoritedByUsers = response.map(item => ({
|
const favoritedByUsers = response.map(item => ({
|
||||||
src: item.avatar_static,
|
src: item.avatar_static,
|
||||||
name: item.display_name
|
name: item.display_name
|
||||||
|
@ -162,7 +162,7 @@ const conversation = {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
fetchRebloggedByUsers (id) {
|
fetchRebloggedByUsers (id) {
|
||||||
this.$store.state.api.backendInteractor.fetchRebloggedByUsers({id: this.status.id}).then((response) => {
|
this.$store.state.api.backendInteractor.fetchRebloggedByUsers({id}).then((response) => {
|
||||||
const rebloggedByUsers = response.map(item => ({
|
const rebloggedByUsers = response.map(item => ({
|
||||||
src: item.avatar_static,
|
src: item.avatar_static,
|
||||||
name: item.display_name
|
name: item.display_name
|
||||||
|
|
Loading…
Reference in a new issue