From 2981ba952c4207b07db36392d7b3c56afeb80209 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Far=C3=ADas=20Santana?= Date: Thu, 14 Sep 2023 14:04:53 +0200 Subject: [PATCH] fix: Simpler conditional Co-authored-by: Tiina Turban --- frontend/src/scenes/batch_exports/BatchExportEditForm.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/scenes/batch_exports/BatchExportEditForm.tsx b/frontend/src/scenes/batch_exports/BatchExportEditForm.tsx index 5d938746d3563..39a6427f12b49 100644 --- a/frontend/src/scenes/batch_exports/BatchExportEditForm.tsx +++ b/frontend/src/scenes/batch_exports/BatchExportEditForm.tsx @@ -224,8 +224,8 @@ export function BatchExportsEditForm(props: BatchExportsEditLogicProps): JSX.Ele /> - {!batchExportConfigForm.encryption || - batchExportConfigForm.encryption != 'aws:kms' ? null : ( + { + batchExportConfigForm.encryption == 'aws:kms' && (