diff --git a/chaoscenter/web/src/routes/RouteDestinations.tsx b/chaoscenter/web/src/routes/RouteDestinations.tsx index 9072630ae22..3ebb08ffa38 100644 --- a/chaoscenter/web/src/routes/RouteDestinations.tsx +++ b/chaoscenter/web/src/routes/RouteDestinations.tsx @@ -40,7 +40,8 @@ export function RoutesWithAuthentication(): React.ReactElement { if (!token || !isUserAuthenticated()) { forceLogout(); } - }, [forceLogout, token]); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [token]); return ( diff --git a/chaoscenter/web/src/strings/strings.en.yaml b/chaoscenter/web/src/strings/strings.en.yaml index 716b55d77fd..dc148d026fa 100644 --- a/chaoscenter/web/src/strings/strings.en.yaml +++ b/chaoscenter/web/src/strings/strings.en.yaml @@ -347,7 +347,7 @@ genericResourceNotFoundError: >- has been deleted. gitConnection: Repository Connection goBack: Go back to previous page -goChaosHome: Go to Chaos Home +goChaosHome: Go to Home greatJob: Great Job group: Group healthy: Healthy diff --git a/chaoscenter/web/src/views/ExperimentCreationFaultConfiguration/Tabs/TargetApplication/TargetApplication.tsx b/chaoscenter/web/src/views/ExperimentCreationFaultConfiguration/Tabs/TargetApplication/TargetApplication.tsx index 5a73b99a3d6..0f9bba022b0 100644 --- a/chaoscenter/web/src/views/ExperimentCreationFaultConfiguration/Tabs/TargetApplication/TargetApplication.tsx +++ b/chaoscenter/web/src/views/ExperimentCreationFaultConfiguration/Tabs/TargetApplication/TargetApplication.tsx @@ -56,7 +56,8 @@ export default function TargetApplicationTab({ {getString('provideTargetApplicationDetails')} {engineCR?.spec?.appinfo?.appkind !== undefined && ( - + + {getString('appKind')} { if (faultData?.faultName) return { ...faultData, engineCR: faultData?.engineCR }; }); - // gvrData.map(data => { - // if (data.resource === selectedItem.label) { - // getKubeObjectLazyQueryFunction({ - // variables: { - // kubeObjectRequest: { - // infraID: infrastructureID ?? '', - // requestID: uuid(), - // kubeObjRequest: { - // group: data.group, - // version: data.version, - // resource: `${data.resource}s` - // } - // } - // } - // }); - // } - // }); }} /> )} {engineCR?.spec?.appinfo?.appns !== undefined && ( - + + {getString('appNameSpace')} )} {engineCR?.spec?.appinfo?.applabel !== undefined && ( - + + {getString('appLabel')}