From 033e4945d0cdc074b05c7c4ed69476f39dd57f33 Mon Sep 17 00:00:00 2001 From: Thomas Nordquist Date: Fri, 25 Jan 2019 20:02:45 +0100 Subject: [PATCH] Show broker statistics only if there are any --- app/src/components/BrokerStatistics.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/components/BrokerStatistics.tsx b/app/src/components/BrokerStatistics.tsx index df840c9..1ae27c6 100644 --- a/app/src/components/BrokerStatistics.tsx +++ b/app/src/components/BrokerStatistics.tsx @@ -42,7 +42,7 @@ class BrokerStatistics extends React.Component { public render() { const { tree, classes } = this.props - if (!tree) { + if (!tree || !tree.findNode('$SYS')) { return null }