Skip to content

Commit

Permalink
ADM-1000 [frontend]: adjust the logic for the next button in the metr…
Browse files Browse the repository at this point in the history
…ics page
  • Loading branch information
zhou-yinyuan committed Sep 23, 2024
1 parent baf984e commit e788179
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions frontend/src/containers/MetricsStepper/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,11 @@ const MetricsStepper = () => {
metricsConfig.cycleTimeSettingsType === CycleTimeSettingsTypes.BY_COLUMN &&
metricsConfig.cycleTimeSettings.filter(({ value }) => value === METRICS_CONSTANTS.doneValue).length > 1;
const isShowDeploymentFrequency =
requiredData.includes(RequiredData.DeploymentFrequency) ||
requiredData.includes(RequiredData.PipelineChangeFailureRate) ||
requiredData.includes(RequiredData.LeadTimeForChanges) ||
requiredData.includes(RequiredData.PipelineMeanTimeToRecovery);
(requiredData.includes(RequiredData.DeploymentFrequency) ||
requiredData.includes(RequiredData.PipelineChangeFailureRate) ||
requiredData.includes(RequiredData.LeadTimeForChanges) ||
requiredData.includes(RequiredData.PipelineMeanTimeToRecovery)) &&
pipelineTools.type !== PIPELINE_TOOL_OTHER_OPTION;
const isShowSourceControlConfiguration =
requiredData.includes(RequiredData.DeploymentFrequency) ||
requiredData.includes(RequiredData.PipelineChangeFailureRate) ||
Expand Down

0 comments on commit e788179

Please sign in to comment.