edit history weirdness

This commit is contained in:
Henry Jameson 2026-08-26 14:13:47 +03:00
commit 039870daf0
3 changed files with 5 additions and 19 deletions

View file

@ -184,7 +184,10 @@ export const fetchStatusHistory = ({ id, credentials }) =>
return {
...rest,
data: [...data].reverse().map((item) => {
item.originalStatus = status
// History data is missing a lot of stuff present in original
// but we're really only missing the id for the timeago, the
// rest seem to render just fine.
item.id = id
return parseStatus(item)
}),
}