From 75cf7ac3c3a00b29fab15b1fe3696617918fc643 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 13 Apr 2017 16:08:41 +0200 Subject: simplify coin status, don't show refreshed coins in balance --- src/pages/tree.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/pages/tree.tsx') diff --git a/src/pages/tree.tsx b/src/pages/tree.tsx index dab637147..4909c189b 100644 --- a/src/pages/tree.tsx +++ b/src/pages/tree.tsx @@ -21,7 +21,7 @@ */ -import {ExchangeRecord, DenominationRecord} from "src/types"; +import {ExchangeRecord, DenominationRecord, CoinStatus} from "src/types"; import { ReserveRecord, CoinRecord, PreCoinRecord, Denomination } from "src/types"; import { ImplicitStateComponent, StateHolder } from "src/components"; import { @@ -124,8 +124,7 @@ class CoinView extends React.Component {
  • Current amount: {prettyAmount(c.currentAmount)}
  • Denomination:
  • Suspended: {(c.suspended || false).toString()}
  • -
  • Dirty: {(c.dirty || false).toString()}
  • -
  • Transaction Pending: {(c.transactionPending || false).toString()}
  • +
  • Status: {CoinStatus[c.status]}
  • -- cgit v1.2.3