Skip to content

Commit 618e1fc

Browse files
committed
#RI-5772 - fix styles
#RI-5776 - fix sso flow
1 parent 2b64aa6 commit 618e1fc

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

redisinsight/ui/src/electron/components/ConfigOAuth/ConfigOAuth.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ const ConfigOAuth = () => {
5151
if (isSelectAccout) return
5252

5353
if (ssoFlowRef.current === OAuthSocialAction.SignIn) {
54+
dispatch(setSSOFlow(undefined))
5455
closeInfinityNotification()
5556
return
5657
}
@@ -90,7 +91,6 @@ const ConfigOAuth = () => {
9091

9192
const closeInfinityNotification = () => {
9293
dispatch(removeInfiniteNotification(InfiniteMessagesIds.oAuthProgress))
93-
dispatch(setSSOFlow(undefined))
9494
}
9595

9696
const cloudOauthCallback = (_e: any, { status, message = '', error }: CloudAuthResponse) => {

redisinsight/ui/src/styles/base/_overrides.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,7 @@
5656
body .euiSuperSelect__listbox {
5757
max-height: 350px;
5858
}
59+
60+
.euiPanel {
61+
border-color: var(--euiColorLightShade);
62+
}

0 commit comments

Comments
 (0)