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