From a63bbacd404b9202c9f09640246c733605ff937a Mon Sep 17 00:00:00 2001 From: Tom Kirkpatrick Date: Sun, 2 Sep 2018 22:19:34 +0200 Subject: [PATCH] fix(ui): show wallet once balances are loaded Due to a recent change in the way that we handle numeric data from gRPC we need to be explicit when checking for unset/null values. --- app/routes/activity/components/Activity.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes/activity/components/Activity.js b/app/routes/activity/components/Activity.js index 080654ce..5199fe93 100644 --- a/app/routes/activity/components/Activity.js +++ b/app/routes/activity/components/Activity.js @@ -90,7 +90,7 @@ class Activity extends Component { walletProps } = this.props - if (!balance.channelBalance || !balance.walletBalance) { + if (balance.channelBalance === null || balance.walletBalance === null) { return }