Browse Source

Modify amount color on operation detail when < 0

master
meriadec 7 years ago
parent
commit
eeae111132
No known key found for this signature in database GPG Key ID: 1D2FC2305E2CB399
  1. 1
      src/components/modals/OperationDetails.js

1
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

Loading…
Cancel
Save