Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix hidden ignore preflights option #4467

Merged
merged 2 commits into from
Feb 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions web/src/components/PreflightResultPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@
className="btn primary blue"
disabled={preflightCheck?.showDeploymentBlocked}
onClick={() =>
preflightCheck?.shouldShowConfirmContinueWithFailedPreflights

Check warning on line 208 in web/src/components/PreflightResultPage.tsx

View workflow job for this annotation

GitHub Actions / lint-web

This line has a length of 85. Maximum allowed is 80
? setShowContinueWithFailedPreflightsModal(true)
: deployKotsDownstream({
continueWithFailedPreflights: true,
Expand All @@ -229,16 +229,16 @@
</>
)}
</div>
{preflightCheck?.showIgnorePreflight && (
<div className="flex flex1 justifyContent--center alignItems--center">
<span
className="u-fontSize--normal u-fontWeight--medium u-textDecoration--underline u-textColor--bodyCopy u-marginTop--15 u-cursor--pointer"
onClick={() => setShowConfirmIgnorePreflightsModal(true)}
>
Ignore Preflights{" "}
</span>
</div>
)}
</div>
)}
{preflightCheck?.showIgnorePreflight && (
<div className="flex flex0 justifyContent--center alignItems--center">
<span
className="u-fontSize--normal u-fontWeight--medium u-textDecoration--underline u-textColor--bodyCopy u-marginTop--15 u-cursor--pointer"
onClick={() => setShowConfirmIgnorePreflightsModal(true)}
>
Ignore Preflights{" "}
</span>
</div>
)}
</div>
Expand Down
Loading