mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Adds styles for dropped txs in old-ui.
This commit is contained in:
parent
80a2e59194
commit
bf3c5add08
@ -208,6 +208,11 @@ function formatDate (date) {
|
||||
function renderErrorOrWarning (transaction) {
|
||||
const { status, err, warning } = transaction
|
||||
|
||||
// show dropped
|
||||
if (status === 'dropped') {
|
||||
return h('span.dropped', ' (Dropped)')
|
||||
}
|
||||
|
||||
// show rejected
|
||||
if (status === 'rejected') {
|
||||
return h('span.error', ' (Rejected)')
|
||||
|
@ -247,6 +247,10 @@ app sections
|
||||
color: #FFAE00;
|
||||
}
|
||||
|
||||
.dropped {
|
||||
color: #6195ED;
|
||||
}
|
||||
|
||||
.lock {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
|
Loading…
Reference in New Issue
Block a user