Skip to content

Commit

Permalink
fix: batch export PG form checkbox initial edit state (#21088)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiina303 authored Mar 21, 2024
1 parent 888f2ee commit d35f67e
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions frontend/src/scenes/batch_exports/BatchExportEditForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -375,17 +375,21 @@ export function BatchExportsEditFields({
</LemonField>

<LemonField name="has_self_signed_cert">
<LemonCheckbox
bordered
label={
<span className="flex items-center gap-2">
Does your Postgres instance have a self-signed SSL certificate?
<Tooltip title="In most cases, Heroku and RDS users should check this.">
<IconInfo className=" text-lg text-muted-alt" />
</Tooltip>
</span>
}
/>
{({ value, onChange }) => (
<LemonCheckbox
bordered
label={
<span className="flex items-center gap-2">
Does your Postgres instance have a self-signed SSL certificate?
<Tooltip title="In most cases, Heroku and RDS users should check this.">
<IconInfo className=" text-lg text-muted-alt" />
</Tooltip>
</span>
}
checked={!!value}
onChange={onChange}
/>
)}
</LemonField>

<LemonField name="exclude_events" label="Events to exclude" className="flex-1">
Expand Down

0 comments on commit d35f67e

Please sign in to comment.