kyd-shared-badge 0.3.82 → 0.3.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -208,8 +208,8 @@ export function ConnectAccounts(props: ConnectAccountsProps) {
|
|
|
208
208
|
}, [connected]);
|
|
209
209
|
const isGithubConnected = !!githubConnectedAccount;
|
|
210
210
|
const isGithubAppInstalled = useMemo(() => {
|
|
211
|
-
const setupAction =
|
|
212
|
-
return setupAction === 'install';
|
|
211
|
+
const setupAction = githubConnectedAccount?.app_installation_info?.setupAction;
|
|
212
|
+
return setupAction === 'install' || setupAction === 'created';
|
|
213
213
|
}, [githubConnectedAccount]);
|
|
214
214
|
|
|
215
215
|
return (
|