Show broker statistics only if there are any

This commit is contained in:
Thomas Nordquist
2019-01-25 20:02:45 +01:00
parent ac498a948e
commit 033e4945d0

View File

@@ -42,7 +42,7 @@ class BrokerStatistics extends React.Component<Props, {}> {
public render() {
const { tree, classes } = this.props
if (!tree) {
if (!tree || !tree.findNode('$SYS')) {
return null
}