Fix crash in ClusterStatus (#4533)

This commit is contained in:
Sebastian Malton committed 2021-12-09 17:26:13 -05:00
1 parent 7ab9f06836
commit d287c07b88
1 file changed
+1 -1
@@ -153,7 +153,7 @@ export class ClusterStatus extends React.Component<Props> {
return (
<div className={cssNames(styles.status, "flex column box center align-center justify-center", this.props.className)}>
<div className="flex items-center column gaps">
<h2>{this.entity.getName()}</h2>
<h2>{this.entity?.getName() ?? this.cluster.name}</h2>
{this.renderStatusIcon()}
{this.renderAuthenticationOutput()}
{this.renderReconnectionHelp()}