Skip to content

Commit a96ef25

Browse files
committed
feat: add checkbox in pre and post cd as well
1 parent e59935f commit a96ef25

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/components/ApplicationGroup/Details/TriggerView/BulkCDTrigger.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -856,8 +856,7 @@ export default function BulkCDTrigger({
856856

857857
const renderFooterSection = (): JSX.Element => {
858858
const isDeployButtonDisabled: boolean = isDeployDisabled()
859-
const showSkipHibernatedCheckbox =
860-
stage === DeploymentNodeType.CD && !!SkipHibernatedCheckbox && canFetchHelmAppStatus
859+
const showSkipHibernatedCheckbox = !!SkipHibernatedCheckbox && canFetchHelmAppStatus
861860
return (
862861
<div
863862
className={`dc__border-top flex ${showSkipHibernatedCheckbox ? 'dc__content-space' : 'right'} bg__primary px-20 py-16`}

src/components/ApplicationGroup/Details/TriggerView/EnvTriggerView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1483,7 +1483,7 @@ export default function EnvTriggerView({ filteredAppIds, isVirtualEnv }: AppGrou
14831483
...(getRuntimeParamsPayload
14841484
? { runtimeParamsPayload: getRuntimeParamsPayload(runtimeParams[currentAppId] ?? []) }
14851485
: {}),
1486-
skipIfHibernated: skipIfHibernated,
1486+
skipIfHibernated,
14871487
}),
14881488
)
14891489
} else {

0 commit comments

Comments
 (0)