1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00

Label the pending tx icon with a tooltip

This commit is contained in:
Dan Finlay 2017-05-21 14:15:34 -07:00
parent 6209224a6c
commit 3c90024564
2 changed files with 13 additions and 5 deletions

View File

@ -3,6 +3,7 @@
## Current Master
- Add Transaction Number (nonce) to transaction list.
- Label the pending tx icon with a tooltip.
## 3.6.5 2017-5-17

View File

@ -1,6 +1,7 @@
const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits
const Tooltip = require('./tooltip')
const Identicon = require('./identicon')
@ -32,11 +33,17 @@ TransactionIcon.prototype.render = function () {
})
case 'submitted':
return h('i.fa.fa-ellipsis-h', {
style: {
fontSize: '27px',
},
})
return h(Tooltip, {
title: 'Pending',
position: 'bottom',
},
[
h('i.fa.fa-ellipsis-h', {
style: {
fontSize: '27px',
},
})
])
}
if (isMsg) {