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) {
|
function renderErrorOrWarning (transaction) {
|
||||||
const { status, err, warning } = transaction
|
const { status, err, warning } = transaction
|
||||||
|
|
||||||
|
// show dropped
|
||||||
|
if (status === 'dropped') {
|
||||||
|
return h('span.dropped', ' (Dropped)')
|
||||||
|
}
|
||||||
|
|
||||||
// show rejected
|
// show rejected
|
||||||
if (status === 'rejected') {
|
if (status === 'rejected') {
|
||||||
return h('span.error', ' (Rejected)')
|
return h('span.error', ' (Rejected)')
|
||||||
|
@ -247,6 +247,10 @@ app sections
|
|||||||
color: #FFAE00;
|
color: #FFAE00;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dropped {
|
||||||
|
color: #6195ED;
|
||||||
|
}
|
||||||
|
|
||||||
.lock {
|
.lock {
|
||||||
width: 50px;
|
width: 50px;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user