From ed36d3866dbf8e3c464390b3b6110b61456e9848 Mon Sep 17 00:00:00 2001 From: Amogh-Bharadwaj Date: Tue, 12 Dec 2023 18:54:06 +0530 Subject: [PATCH] remove asterisks --- ui/app/peers/create/[peerType]/helpers/pg.ts | 2 ++ ui/components/PeerForms/PostgresForm.tsx | 18 ++++++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/ui/app/peers/create/[peerType]/helpers/pg.ts b/ui/app/peers/create/[peerType]/helpers/pg.ts index 2267c922ee..8e822fb5c4 100644 --- a/ui/app/peers/create/[peerType]/helpers/pg.ts +++ b/ui/app/peers/create/[peerType]/helpers/pg.ts @@ -76,12 +76,14 @@ export const sshSetting = [ stateHandler: (value: string, setter: sshSetter) => setter((curr) => ({ ...curr, password: value })), type: 'password', + optional: true, tips: 'Password associated with the user you provided.', }, { label: 'BASE64 Private Key', stateHandler: (value: string, setter: sshSetter) => setter((curr) => ({ ...curr, privateKey: value })), + optional: true, tips: 'Private key as a BASE64 string for authentication in order to SSH into your machine.', }, ]; diff --git a/ui/components/PeerForms/PostgresForm.tsx b/ui/components/PeerForms/PostgresForm.tsx index 2def655acd..1819e626df 100644 --- a/ui/components/PeerForms/PostgresForm.tsx +++ b/ui/components/PeerForms/PostgresForm.tsx @@ -107,14 +107,16 @@ export default function PostgresForm({ settings, setter }: ConfigProps) { label={ } action={