Restore sort order fix

feature/default_network_editable
Dan Finlay 7 years ago
parent a22adec66f
commit 7a04643d8e
  1. 2
      ui/app/app.js
  2. 5
      ui/lib/tx-helper.js

@ -125,7 +125,7 @@ App.prototype.renderAppBar = function () {
h('div', {
style: {
width: '100%'
width: '100%',
},
}, [

@ -12,6 +12,9 @@ module.exports = function (unapprovedTxs, unapprovedMsgs, personalMsgs, network)
const personalValues = valuesFor(personalMsgs)
log.debug(`tx helper found ${personalValues.length} unsigned personal messages`)
allValues = allValues.concat(personalValues)
allValues = allValues.sort((a, b) => {
return a.time > b.time
})
return allValues.sort(txMeta => txMeta.time)
return allValues
}

Loading…
Cancel
Save