From 88a8dc390e35c8fc0012eb548a2879e89f5a4fed Mon Sep 17 00:00:00 2001 From: Craig O'Donnell Date: Fri, 23 Feb 2024 17:13:51 +0000 Subject: [PATCH 1/2] fix hidden ignore preflights option --- web/src/components/PreflightResultPage.tsx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/web/src/components/PreflightResultPage.tsx b/web/src/components/PreflightResultPage.tsx index 6007c67e1a..bc02e5b44b 100644 --- a/web/src/components/PreflightResultPage.tsx +++ b/web/src/components/PreflightResultPage.tsx @@ -229,16 +229,16 @@ function PreflightResultPage(props: Props) { )} - {preflightCheck?.showIgnorePreflight && ( -
- setShowConfirmIgnorePreflightsModal(true)} - > - Ignore Preflights{" "} - -
- )} + + )} + {props.fromLicenseFlow && preflightCheck?.showIgnorePreflight && ( +
+ setShowConfirmIgnorePreflightsModal(true)} + > + Ignore Preflights{" "} +
)} From 0aeb71d4edc0cc92bab1c66b48d356ca0b22f65d Mon Sep 17 00:00:00 2001 From: Craig O'Donnell Date: Fri, 23 Feb 2024 17:29:19 +0000 Subject: [PATCH 2/2] remove fromLicenseFlow conditional --- web/src/components/PreflightResultPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/components/PreflightResultPage.tsx b/web/src/components/PreflightResultPage.tsx index bc02e5b44b..f3e2acfd1d 100644 --- a/web/src/components/PreflightResultPage.tsx +++ b/web/src/components/PreflightResultPage.tsx @@ -231,7 +231,7 @@ function PreflightResultPage(props: Props) { )} - {props.fromLicenseFlow && preflightCheck?.showIgnorePreflight && ( + {preflightCheck?.showIgnorePreflight && (