Prechádzať zdrojové kódy

fixed file extension and loading never set to false

jnfrati 4 rokov pred
rodič
commit
274a6cdc65

+ 1 - 0
dashboard/src/components/events/useEvents.tsx → dashboard/src/components/events/useEvents.ts

@@ -30,6 +30,7 @@ export const useKubeEvents = (
       })
       })
       .catch(() => {
       .catch(() => {
         setHasPorterAgent(false);
         setHasPorterAgent(false);
+        setIsLoading(false);
       });
       });
 
 
     return () => {
     return () => {