From 238af975e347740a34e4b89fedef7298b7fbea6a Mon Sep 17 00:00:00 2001 From: James Grugett Date: Thu, 7 Apr 2022 18:00:44 -0500 Subject: [PATCH] Reverse FR acitivty as well --- web/components/feed/activity-items.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/web/components/feed/activity-items.ts b/web/components/feed/activity-items.ts index cf5d9967..39322ca4 100644 --- a/web/components/feed/activity-items.ts +++ b/web/components/feed/activity-items.ts @@ -309,7 +309,14 @@ export function getAllContractActivityItems( items.push({ type: 'resolve', id: `${contract.resolutionTime}`, contract }) } - if (!abbreviated) items.reverse() + if (!abbreviated) { + items.reverse() + for (const item of items) { + if (item.type === 'answergroup') { + item.items.reverse() + } + } + } return items }