From fcea3d62cb9f34393a19aa8c8dc0b78bc4a9b765 Mon Sep 17 00:00:00 2001 From: Brenden Bice Date: Sun, 7 Apr 2019 14:27:46 -0400 Subject: [PATCH] display avatars list on highlighted post --- src/components/conversation/conversation.js | 5 ++--- 1 file 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 }) })