mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 01:31:17 +00:00
Fix processes/hosts table not appearing (#2824)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user