Skip to content

Commit

Permalink
Fix to show the process log when opennig the dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
knanao committed Apr 18, 2022
1 parent d03748b commit 629d951
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions web/src/components/deployments-detail-page/pipeline/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -277,12 +277,15 @@ export const Pipeline: FC<PipelineProps> = memo(function Pipeline({
name={stage.name}
status={stage.status}
metadata={stage.metadataMap}
onClick={
stage.name === ANALYSIS_NAME &&
stage.status === StageStatus.STAGE_RUNNING
? () => setSkipTargetId(stage.id)
: handleOnClickStage
}
onClick={() => {
if (
stage.name === ANALYSIS_NAME &&
stage.status === StageStatus.STAGE_RUNNING
) {
setSkipTargetId(stage.id);
}
handleOnClickStage(stage.id, stage.name);
}}
active={isActive}
approver={approver}
skipper={skipper}
Expand Down

0 comments on commit 629d951

Please sign in to comment.