Skip to content

Commit b8ad2e2

Browse files
committed
#RI-6338 - change placeholder, fix onClose on link
1 parent 815e596 commit b8ad2e2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

redisinsight/ui/src/pages/home/components/connection-url/ConnectionUrl.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ const ConnectionUrl = (props: Props) => {
129129
value={formik.values.connectionURL}
130130
onChange={formik.handleChange}
131131
fullWidth
132-
placeholder="Enter Connection URL"
132+
placeholder="redis://localhost:6379"
133133
resize="none"
134134
style={{ height: 88 }}
135135
data-testid="connection-url"

redisinsight/ui/src/pages/home/components/connection-url/components/connectivity-options/ConnectivityOptions.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const ConnectivityOptions = (props: Props) => {
4545
</EuiFlexItem>
4646
<EuiFlexItem grow={1}>
4747
<OAuthSsoHandlerDialog>
48-
{(ssoCloudHandlerClick) => (
48+
{(ssoCloudHandlerClick, isSSOEnabled) => (
4949
<EuiButton
5050
color="secondary"
5151
className={cx(styles.typeBtn, styles.primary)}
@@ -58,7 +58,7 @@ const ConnectivityOptions = (props: Props) => {
5858
source: OAuthSocialSource.AddDbForm,
5959
action: OAuthSocialAction.Create
6060
})
61-
onClose?.()
61+
isSSOEnabled && onClose?.()
6262
}}
6363
data-testid="create-free-db-btn"
6464
>

0 commit comments

Comments
 (0)