Ver Fonte

Merge pull request #1299 from porter-dev/hotfix-gh-install

hotfix for github integration infinite loading
sunguroku há 4 anos atrás
pai
commit
c4fd396237
1 ficheiros alterados com 2 adições e 2 exclusões
  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