Skip to content

Commit

Permalink
few other frontend fixes, TODO: testing
Browse files Browse the repository at this point in the history
  • Loading branch information
unical1988 committed Feb 8, 2025
1 parent 8b56599 commit ed7b120
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 16 deletions.
Empty file added mingw32-make
Empty file.
31 changes: 15 additions & 16 deletions ui/src/pages/Install/components/SecondStep/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ const Index: FC<Props> = ({ visible, data, changeCallback, nextCallback }) => {
}
nextCallback();
};



if (!visible) return null;
Expand Down Expand Up @@ -210,28 +210,27 @@ const Index: FC<Props> = ({ visible, data, changeCallback, nextCallback }) => {
{data.db_password.errorMsg}
</Form.Control.Feedback>
</Form.Group>
{data.db_type.value=== 'postgres' && (
{data.db_type.value === 'postgres' && (
<Form.Group controlId="ssl_enabled" className="conditional-checkbox">
<Form.Label>{t('ssl_enabled.label')}</Form.Label>
<Form.Check
inline
type={"checkbox"}
label={`SSL Mode On`}
id={"sslEnabled"}
Value={data.ssl_enabled.value}
onChange={(e) => {
<Form.Check type="checkbox" id="sslEnabled">
<Form.Check.Input
type="checkbox"
value={data.ssl_enabled.value}
onChange={(e) => {
changeCallback({
ssl_enabled: {
value: e.target.value,
value: e.target.checked,
isInvalid: false,
errorMsg: '',
},
});
}}
/>
</Form.Group>
)
}
}}
/>
<Form.Label>{t('ssl_enabled.label')}</Form.Label>
</Form.Check>
</Form.Group>
)
}
{data.ssl_enabled.value && (
<Form.Group controlId="sslmodeOptionsDropdown" className="mb-3">
<Form.Label>{t('ssl_mode.label')}</Form.Label>
Expand Down

0 comments on commit ed7b120

Please sign in to comment.