From 4319c1b4212a347a8e7300c71634af7606f4ac58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Renaudeau?= Date: Mon, 25 Jun 2018 19:41:04 +0200 Subject: [PATCH] Disable balance rounding where it's important (where enough space) --- src/components/AccountPage/index.js | 2 ++ src/components/BalanceSummary/BalanceInfos.js | 6 ++++-- src/components/SelectAccount/index.js | 8 +++++++- src/components/modals/OperationDetails.js | 9 ++++++++- 4 files changed, 21 insertions(+), 4 deletions(-) diff --git a/src/components/AccountPage/index.js b/src/components/AccountPage/index.js index 464fb3a4..29797f2c 100644 --- a/src/components/AccountPage/index.js +++ b/src/components/AccountPage/index.js @@ -150,12 +150,14 @@ class AccountPage extends PureComponent { - {!isAvailable ? ( + {!isAvailable && !showCryptoEvenIfNotAvailable ? ( ) : ( diff --git a/src/components/SelectAccount/index.js b/src/components/SelectAccount/index.js index 7e683cd9..dc8a5d34 100644 --- a/src/components/SelectAccount/index.js +++ b/src/components/SelectAccount/index.js @@ -43,7 +43,13 @@ const renderOption = a => { - + ) diff --git a/src/components/modals/OperationDetails.js b/src/components/modals/OperationDetails.js index ad11c0d5..e9d6f8e0 100644 --- a/src/components/modals/OperationDetails.js +++ b/src/components/modals/OperationDetails.js @@ -126,7 +126,14 @@ const OperationDetails = connect(mapStateToProps)((props: Props) => { /> - +