aboutsummaryrefslogtreecommitdiff
path: root/pages/tree.tsx
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-10-19 22:49:03 +0200
committerFlorian Dold <florian.dold@gmail.com>2016-10-19 22:49:03 +0200
commite6763f3fac0d2c9e6f7459499b960b4d5c54fc66 (patch)
tree6275af237861430a33ecb3aadc395ec26d7d52dc /pages/tree.tsx
parent4fd1e07449c97619dbf1e0e17baa47168644dba9 (diff)
downloadwallet-core-e6763f3fac0d2c9e6f7459499b960b4d5c54fc66.tar.xz
show pending outgoing balance in overview
Diffstat (limited to 'pages/tree.tsx')
-rw-r--r--pages/tree.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/pages/tree.tsx b/pages/tree.tsx
index 0d1046b34..e782877a5 100644
--- a/pages/tree.tsx
+++ b/pages/tree.tsx
@@ -43,6 +43,9 @@ class ReserveView extends preact.Component<ReserveViewProps, void> {
<ul>
<li>Key: {r.reserve_pub}</li>
<li>Created: {(new Date(r.created * 1000).toString())}</li>
+ <li>Current: {r.current_amount ? prettyAmount(r.current_amount!) : "null"}</li>
+ <li>Requested: {prettyAmount(r.requested_amount)}</li>
+ <li>Confirmed: {r.confirmed}</li>
</ul>
</div>
);