Przeglądaj źródła

fixed file extension and loading never set to false

jnfrati 4 lat temu
rodzic
commit
274a6cdc65
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      dashboard/src/components/events/useEvents.ts

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

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