diff --git a/changelog.d/675.bugfix b/changelog.d/675.bugfix new file mode 100644 index 00000000..5d71f97d --- /dev/null +++ b/changelog.d/675.bugfix @@ -0,0 +1 @@ +Don't hide Create Connection button in Migration component. \ No newline at end of file diff --git a/web/components/roomConfig/GithubRepoConfig.tsx b/web/components/roomConfig/GithubRepoConfig.tsx index 16fa2669..3cb164ca 100644 --- a/web/components/roomConfig/GithubRepoConfig.tsx +++ b/web/components/roomConfig/GithubRepoConfig.tsx @@ -103,9 +103,11 @@ const ConnectionConfiguration: FunctionComponent setConnectionState(null), [setConnectionState]); + const consideredAuthenticated = (authedResponse?.authenticated || !showAuthPrompt); + return
{authedResponse && } - {!existingConnection && authedResponse?.authenticated && - { canEdit && authedResponse?.authenticated && } + { canEdit && consideredAuthenticated && } { canEdit && existingConnection?.id && } ;