Skip to content

Commit

Permalink
fix(plugins/plugin-client-common): sidecar drilldown can result in re…
Browse files Browse the repository at this point in the history
…act warning in console

part of #7539
  • Loading branch information
starpit authored and k8s-ci-robot committed Jun 7, 2021
1 parent 177457f commit 2169165
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -425,10 +425,9 @@ export default class TopNavSidecar extends BaseSidecar<MultiModalResponse, TopNa
this.props.onRender(false)
}
return <div />
} else {
if (this.props.onRender) {
this.props.onRender(true)
}
} else if (this.props.onRender) {
// needs to be async'd; see https://github.com/kubernetes-sigs/kui/issues/7539
setTimeout(() => this.props.onRender(true))
}

const nameBreadCrumbs =
Expand Down

0 comments on commit 2169165

Please sign in to comment.