From 0a4002d4c2b405f9c19085ca77a00a9da42fef5c Mon Sep 17 00:00:00 2001 From: pnaik1 Date: Tue, 31 Oct 2023 13:38:40 +0530 Subject: [PATCH] Could not find TrustyAI service --- frontend/src/concepts/explainability/useTrustyAINamespaceCR.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/concepts/explainability/useTrustyAINamespaceCR.ts b/frontend/src/concepts/explainability/useTrustyAINamespaceCR.ts index 1ac2d83a15..728e722d7c 100644 --- a/frontend/src/concepts/explainability/useTrustyAINamespaceCR.ts +++ b/frontend/src/concepts/explainability/useTrustyAINamespaceCR.ts @@ -61,7 +61,7 @@ const useTrustyAINamespaceCR = (namespace: string): FetchState => { const resourceLoaded = state[1] && !!state[0]; const hasStatus = taiLoaded(state); React.useEffect(() => { - setIsStarting(resourceLoaded && !hasStatus); + setIsStarting(!resourceLoaded && !hasStatus); }, [hasStatus, resourceLoaded]); return state;