show introductory video and password reset for first time try postgresql (#1338) (#1340)

This commit is contained in:
sunghyunkang1111 2022-10-10 18:53:54 -05:00 committed by GitHub
parent 333b3de587
commit 5b365e642f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -198,7 +198,7 @@ export class SplashScreen extends React.Component<SplashScreenProps> {
text: "Create",
onClick: () => {
sendMessage({
type: MessageTypes.OpenQuickstartBlade,
type: MessageTypes.OpenPostgreSQLPasswordReset,
});
usePostgres.getState().setShowResetPasswordBubble(false);
},

View File

@ -113,7 +113,7 @@ function updateUserContext(newContext: Partial<UserContext>): 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");