fixed 'My trades' not appearing chronologically
This commit is contained in:
parent
6ca0fb693e
commit
69a12ec5ed
@ -1745,7 +1745,7 @@
|
||||
})
|
||||
} else {
|
||||
getRef('my_orders__title').textContent = 'My trades'
|
||||
transactions.reverse().forEach(transaction => {
|
||||
transactions.sort((a, b) => new Date(b.tx_time).getTime() - new Date(a.tx_time).getTime()).forEach(transaction => {
|
||||
const { asset, quantity, unitValue, tx_time, buyer, seller } = transaction
|
||||
let type, other;
|
||||
if (seller === proxy.userID) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user