From 75cf7ac3c3a00b29fab15b1fe3696617918fc643 Mon Sep 17 00:00:00 2001
From: Florian Dold <florian.dold@gmail.com>
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<CoinViewProps, void> {
           <li>Current amount: {prettyAmount(c.currentAmount)}</li>
           <li>Denomination: <ExpanderText text={c.denomPub} /></li>
           <li>Suspended: {(c.suspended || false).toString()}</li>
-          <li>Dirty: {(c.dirty || false).toString()}</li>
-          <li>Transaction Pending: {(c.transactionPending || false).toString()}</li>
+          <li>Status: {CoinStatus[c.status]}</li>
           <li><RefreshDialog coin={c} /></li>
         </ul>
       </div>
-- 
cgit v1.2.3

