diff --git a/src/Explorer/SplashScreen/SplashScreen.tsx b/src/Explorer/SplashScreen/SplashScreen.tsx index 2dfab1d51..d6ac666d9 100644 --- a/src/Explorer/SplashScreen/SplashScreen.tsx +++ b/src/Explorer/SplashScreen/SplashScreen.tsx @@ -198,7 +198,7 @@ export class SplashScreen extends React.Component { text: "Create", onClick: () => { sendMessage({ - type: MessageTypes.OpenQuickstartBlade, + type: MessageTypes.OpenPostgreSQLPasswordReset, }); usePostgres.getState().setShowResetPasswordBubble(false); }, diff --git a/src/UserContext.ts b/src/UserContext.ts index 29548e3f9..6a1fbc508 100644 --- a/src/UserContext.ts +++ b/src/UserContext.ts @@ -113,7 +113,7 @@ function updateUserContext(newContext: Partial): void { usePostgres.getState().setShowPostgreTeachingBubble(true); localStorage.setItem(newContext.databaseAccount.id, "true"); } - if (userContext.isTryCosmosDBSubscription || isNewAccount) { + if (newContext.isTryCosmosDBSubscription || isNewAccount) { useCarousel.getState().setShouldOpen(true); usePostgres.getState().setShowResetPasswordBubble(true); localStorage.setItem(newContext.databaseAccount.id, "true");