Browse Source
Modify amount color on operation detail when < 0
master
meriadec
7 years ago
No known key found for this signature in database
GPG Key ID: 1D2FC2305E2CB399
1 changed files with
1 additions and
0 deletions
-
src/components/modals/OperationDetails.js
|
|
@ -155,6 +155,7 @@ const OperationDetails = connect(mapStateToProps)((props: Props) => { |
|
|
|
<Box my={4} alignItems="center"> |
|
|
|
<Box> |
|
|
|
<FormattedVal |
|
|
|
color={amount < 0 ? 'smoke' : undefined} |
|
|
|
unit={unit} |
|
|
|
alwaysShowSign |
|
|
|
showCode |
|
|
|