[BUG#2927] Fixed regression when showing transaction detail

This commit is contained in:
Julien Eluard 2018-01-05 15:57:57 +01:00 committed by Oskar Thoren
parent 5cfe5523eb
commit b5735230ff
No known key found for this signature in database
GPG Key ID: 5128AB0637CD85AF
1 changed files with 5 additions and 3 deletions

View File

@ -207,7 +207,9 @@
(defn- pretty-print-asset [symbol amount]
(case symbol
"ETH" (if amount (money/wei->str :eth amount) "...")))
;; TODO (jeluard) Format tokens amount once tokens history is supported
:ETH (if amount (money/wei->str :eth amount) "...")))
(defn details-header [{:keys [value date type symbol]}]
[react/view {:style transactions.styles/details-header}
@ -266,8 +268,8 @@
(defview transaction-details []
(letsubs [{:keys [hash url type] :as transaction} [:wallet.transactions/transaction-details]
confirmations [:wallet.transactions.details/confirmations]
confirmations-progress [:wallet.transactions.details/confirmations-progress]]
confirmations [:wallet.transactions.details/confirmations]
confirmations-progress [:wallet.transactions.details/confirmations-progress]]
[react/view {:style styles/flex}
[status-bar/status-bar]
[toolbar/toolbar {}