Skip to content

Commit

Permalink
Merge pull request #1196 from redpanda-data/fix/connector-overview
Browse files Browse the repository at this point in the history
Connector overview fix
  • Loading branch information
jvorcak authored Mar 26, 2024
2 parents 904f140 + 92f60c4 commit af2b379
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions frontend/src/components/pages/connect/Overview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ export default KafkaConnectOverview;
class TabClusters extends Component {
render() {
const clusters = api.connectConnectors?.clusters;
if (clusters == null) return null;
if (clusters === null || clusters === undefined) {
return null;
}

return (
<DataTable<ClusterConnectors>
Expand All @@ -84,8 +86,10 @@ class TabClusters extends Component {
if (r.error) {
return (
<Tooltip label={r.error} placement="top" hasArrow={true}>
<span style={mr05}>{errIcon}</span>
{r.clusterName}
<>
<span style={mr05}>{errIcon}</span>
{r.clusterName}
</>
</Tooltip>
);
}
Expand Down

0 comments on commit af2b379

Please sign in to comment.