mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-22 17:33:23 +01:00
Always show transaction list
This commit is contained in:
parent
e0a91c6fc9
commit
ebb0aac7dd
@ -7,6 +7,7 @@
|
|||||||
- Added buttons to the account export process.
|
- Added buttons to the account export process.
|
||||||
- Improved visual appearance of account detail transition where button heights would change.
|
- Improved visual appearance of account detail transition where button heights would change.
|
||||||
- Restored back button to account detail view.
|
- Restored back button to account detail view.
|
||||||
|
- Show transaction list always, never collapsed.
|
||||||
|
|
||||||
## 1.7.0 2016-04-29
|
## 1.7.0 2016-04-29
|
||||||
|
|
||||||
|
@ -4,23 +4,16 @@ const addressSummary = require('../util').addressSummary
|
|||||||
const explorerLink = require('../../lib/explorer-link')
|
const explorerLink = require('../../lib/explorer-link')
|
||||||
|
|
||||||
module.exports = function(transactions, network) {
|
module.exports = function(transactions, network) {
|
||||||
return h('details', { key: 'transaction-list' }, [
|
return h('.tx-list', {
|
||||||
|
style: {
|
||||||
h('summary', [
|
overflowY: 'auto',
|
||||||
h('div.font-small', {style: {display: 'inline'}}, 'Transactions'),
|
height: '180px',
|
||||||
]),
|
textAlign: 'center',
|
||||||
|
|
||||||
h('.flex-row.flex-space-around', [
|
|
||||||
h('div.font-small','To'),
|
|
||||||
h('div.font-small','Amount'),
|
|
||||||
]),
|
|
||||||
|
|
||||||
h('.tx-list', {
|
|
||||||
style: {
|
|
||||||
overflowY: 'auto',
|
|
||||||
height: '180px',
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
[
|
||||||
|
h('div.font-small', {style: {display: 'inline'}}, 'Transactions'),
|
||||||
|
|
||||||
transactions.map((transaction) => {
|
transactions.map((transaction) => {
|
||||||
return h('.tx.flex-row.flex-space-around', [
|
return h('.tx.flex-row.flex-space-around', [
|
||||||
@ -33,7 +26,6 @@ module.exports = function(transactions, network) {
|
|||||||
h('div.font-small', formatBalance(transaction.txParams.value))
|
h('div.font-small', formatBalance(transaction.txParams.value))
|
||||||
])
|
])
|
||||||
})
|
})
|
||||||
)
|
]
|
||||||
|
)
|
||||||
])
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user