mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Restore sort order fix
This commit is contained in:
parent
a22adec66f
commit
7a04643d8e
@ -125,7 +125,7 @@ App.prototype.renderAppBar = function () {
|
|||||||
|
|
||||||
h('div', {
|
h('div', {
|
||||||
style: {
|
style: {
|
||||||
width: '100%'
|
width: '100%',
|
||||||
},
|
},
|
||||||
}, [
|
}, [
|
||||||
|
|
||||||
|
@ -12,6 +12,9 @@ module.exports = function (unapprovedTxs, unapprovedMsgs, personalMsgs, network)
|
|||||||
const personalValues = valuesFor(personalMsgs)
|
const personalValues = valuesFor(personalMsgs)
|
||||||
log.debug(`tx helper found ${personalValues.length} unsigned personal messages`)
|
log.debug(`tx helper found ${personalValues.length} unsigned personal messages`)
|
||||||
allValues = allValues.concat(personalValues)
|
allValues = allValues.concat(personalValues)
|
||||||
|
allValues = allValues.sort((a, b) => {
|
||||||
|
return a.time > b.time
|
||||||
|
})
|
||||||
|
|
||||||
return allValues.sort(txMeta => txMeta.time)
|
return allValues
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user