aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/app/app.js2
-rw-r--r--ui/lib/tx-helper.js5
2 files changed, 5 insertions, 2 deletions
diff --git a/ui/app/app.js b/ui/app/app.js
index d1a20f079..973cb756c 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -125,7 +125,7 @@ App.prototype.renderAppBar = function () {
h('div', {
style: {
- width: '100%'
+ width: '100%',
},
}, [
diff --git a/ui/lib/tx-helper.js b/ui/lib/tx-helper.js
index ec19daf64..5def23e51 100644
--- a/ui/lib/tx-helper.js
+++ b/ui/lib/tx-helper.js
@@ -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
}