Răsfoiți Sursa

hotfix for github integration infinite loading

sunguroku 4 ani în urmă
părinte
comite
ee98e53448
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      dashboard/src/components/repo-selector/RepoList.tsx

+ 2 - 2
dashboard/src/components/repo-selector/RepoList.tsx

@@ -150,7 +150,7 @@ const RepoList: React.FC<Props> = ({
         );
       }
 
-      if (accessData.accounts?.length === 0) {
+      // if (accessData.accounts?.length === 0) {
         <LoadingWrapper>
           No connected Github repos found. You can
           <A href={"/api/integrations/github-app/install"}>
@@ -158,7 +158,7 @@ const RepoList: React.FC<Props> = ({
           </A>
           .
         </LoadingWrapper>;
-      }
+      // }
     }
 
     // show 10 most recently used repos if user hasn't searched anything yet