Reverse FR acitivty as well

This commit is contained in:
James Grugett 2022-04-07 18:00:44 -05:00
parent 7dfc3fb966
commit 238af975e3

View File

@ -309,7 +309,14 @@ export function getAllContractActivityItems(
items.push({ type: 'resolve', id: `${contract.resolutionTime}`, contract }) 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 return items
} }