Fix processes/hosts table not appearing (#2824)

This commit is contained in:
Roland Schilter
2017-08-17 17:35:10 +01:00
committed by GitHub
parent 1586deb00a
commit 7b7b643797

View File

@@ -57,7 +57,7 @@ class LinkWrapper extends React.Component {
render() {
const { url, children, ...props } = this.props;
if (!url) {
return children;
return React.isValidElement(children) ? children : (<span>{children}</span>);
}
const href = this.buildHref(url);