Browse Source

Merge pull request #1302 from porter-dev/master

Hotfix for github app installation
sunguroku 5 years ago
parent
commit
c733129671
1 changed files with 4 additions and 2 deletions
  1. 4 2
      dashboard/src/components/repo-selector/RepoList.tsx

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

@@ -149,15 +149,17 @@ const RepoList: React.FC<Props> = ({
           </LoadingWrapper>
           </LoadingWrapper>
         );
         );
       }
       }
-
+      
       // if (accessData.accounts?.length === 0) {
       // if (accessData.accounts?.length === 0) {
+      return (
         <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"}>
             Install Porter in more repositories
             Install Porter in more repositories
           </A>
           </A>
           .
           .
-        </LoadingWrapper>;
+        </LoadingWrapper>
+      );
       // }
       // }
     }
     }