This commit is contained in:
parent
333b3de587
commit
5b365e642f
|
@ -198,7 +198,7 @@ export class SplashScreen extends React.Component<SplashScreenProps> {
|
||||||
text: "Create",
|
text: "Create",
|
||||||
onClick: () => {
|
onClick: () => {
|
||||||
sendMessage({
|
sendMessage({
|
||||||
type: MessageTypes.OpenQuickstartBlade,
|
type: MessageTypes.OpenPostgreSQLPasswordReset,
|
||||||
});
|
});
|
||||||
usePostgres.getState().setShowResetPasswordBubble(false);
|
usePostgres.getState().setShowResetPasswordBubble(false);
|
||||||
},
|
},
|
||||||
|
|
|
@ -113,7 +113,7 @@ function updateUserContext(newContext: Partial<UserContext>): void {
|
||||||
usePostgres.getState().setShowPostgreTeachingBubble(true);
|
usePostgres.getState().setShowPostgreTeachingBubble(true);
|
||||||
localStorage.setItem(newContext.databaseAccount.id, "true");
|
localStorage.setItem(newContext.databaseAccount.id, "true");
|
||||||
}
|
}
|
||||||
if (userContext.isTryCosmosDBSubscription || isNewAccount) {
|
if (newContext.isTryCosmosDBSubscription || isNewAccount) {
|
||||||
useCarousel.getState().setShouldOpen(true);
|
useCarousel.getState().setShouldOpen(true);
|
||||||
usePostgres.getState().setShowResetPasswordBubble(true);
|
usePostgres.getState().setShowResetPasswordBubble(true);
|
||||||
localStorage.setItem(newContext.databaseAccount.id, "true");
|
localStorage.setItem(newContext.databaseAccount.id, "true");
|
||||||
|
|
Loading…
Reference in New Issue