Procházet zdrojové kódy

Merge pull request #1300 from porter-dev/master

hotfix for github repo infinite loading error
sunguroku před 4 roky
rodič
revize
9b7af465bc

+ 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