aboutsummaryrefslogtreecommitdiff
path: root/src/pages
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-04-13 16:08:41 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-04-13 16:08:41 +0200
commit75cf7ac3c3a00b29fab15b1fe3696617918fc643 (patch)
tree13fbf5fae108a19ba21f48360ea21bfdb8969540 /src/pages
parentace1a1be349c279fe87b536f786bb32c4e17f889 (diff)
simplify coin status, don't show refreshed coins in balance
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/tree.tsx5
1 files changed, 2 insertions, 3 deletions
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>