We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 12d1912 + d0d67b8 commit 258887bCopy full SHA for 258887b
src/components/ControlPlanes/ConnectButton.tsx
@@ -37,7 +37,7 @@ export default function ConnectButton(props: Props) {
37
const { t } = useTranslation();
38
39
const res = useApiResource(GetKubeconfig(props.secretKey, props.secretName, props.namespace));
40
- if (res.isLoading) {
+ if (res.isLoading || res.error) {
41
return <></>;
42
}
43
// eslint-disable-next-line @typescript-eslint/no-explicit-any
0 commit comments