small changes
This commit is contained in:
parent
55324aea13
commit
736c1ffb8e
2 changed files with 7 additions and 7 deletions
|
|
@ -274,10 +274,10 @@ export const fetchStatusHistory = ({ status, credentials }) =>
|
|||
promisedRequest({
|
||||
url: MASTODON_STATUS_HISTORY_URL(status.id),
|
||||
credentials,
|
||||
}).then(({ data }) => {
|
||||
}).then(({ data, ...rest }) => {
|
||||
return [...data].reverse().map((item) => {
|
||||
item.originalStatus = status
|
||||
return parseStatus(item)
|
||||
return { ...rest, data: parseStatus(item) }
|
||||
})
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue