Skip to content

Commit

Permalink
fix: Simpler conditional
Browse files Browse the repository at this point in the history
Co-authored-by: Tiina Turban <[email protected]>
  • Loading branch information
tomasfarias and tiina303 committed Sep 14, 2023
1 parent 1d1b083 commit 2981ba9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/scenes/batch_exports/BatchExportEditForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ export function BatchExportsEditForm(props: BatchExportsEditLogicProps): JSX.Ele
/>
</Field>

{!batchExportConfigForm.encryption ||
batchExportConfigForm.encryption != 'aws:kms' ? null : (
{
batchExportConfigForm.encryption == 'aws:kms' && (
<Field name="kms_key_id" label="AWS KMS Key ID" className="flex-1">
<LemonInput
placeholder={
Expand Down

0 comments on commit 2981ba9

Please sign in to comment.