diff options
| author | Brenden Bice <brenden.next@gmail.com> | 2019-04-07 14:27:46 -0400 |
|---|---|---|
| committer | Brenden Bice <brenden.next@gmail.com> | 2019-04-11 23:26:13 -0400 |
| commit | fcea3d62cb9f34393a19aa8c8dc0b78bc4a9b765 (patch) | |
| tree | 63737bc89367c390dce012d3a41d6e9583023c08 /src/components/conversation | |
| parent | b75d899c7a54ff38d1331f043c156bd90baf0f59 (diff) | |
display avatars list on highlighted post
Diffstat (limited to 'src/components/conversation')
| -rw-r--r-- | src/components/conversation/conversation.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/components/conversation/conversation.js b/src/components/conversation/conversation.js index 115ac640..1e75feb9 100644 --- a/src/components/conversation/conversation.js +++ b/src/components/conversation/conversation.js @@ -120,9 +120,8 @@ const conversation = { if (this.status) { this.$store.state.api.backendInteractor.fetchConversation({id: this.status.id}) .then(({ancestors, descendants}) => { - const ancestorId = ancestors.length ? ancestors[0].id : this.status.id - this.$store.dispatch('fetchFavoritedByUsers', { id: ancestorId }) - this.$store.dispatch('fetchRebloggedByUsers', { id: ancestorId }) + this.$store.dispatch('fetchFavoritedByUsers', { id: this.status.id }) + this.$store.dispatch('fetchRebloggedByUsers', { id: this.status.id }) this.$store.dispatch('addNewStatuses', { statuses: ancestors }) this.$store.dispatch('addNewStatuses', { statuses: descendants }) }) |
