Sfoglia il codice sorgente

Merge pull request #1300 from porter-dev/master

hotfix for github repo infinite loading error
sunguroku 4 anni fa
parent
commit
9b7af465bc
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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>
         <LoadingWrapper>
           No connected Github repos found. You can
           No connected Github repos found. You can
           <A href={"/api/integrations/github-app/install"}>
           <A href={"/api/integrations/github-app/install"}>
@@ -158,7 +158,7 @@ const RepoList: React.FC<Props> = ({
           </A>
           </A>
           .
           .
         </LoadingWrapper>;
         </LoadingWrapper>;
-      }
+      // }
     }
     }
 
 
     // show 10 most recently used repos if user hasn't searched anything yet
     // show 10 most recently used repos if user hasn't searched anything yet