From 7e2dc1b52755c4a5c0a6f00201a0db84279bebae 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 5d938746d35635..39a6427f12b499 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' && (