Skip to content

Commit

Permalink
ADM-841: [frontend] fix: fix next button display logic (#1116)
Browse files Browse the repository at this point in the history
* ADM-841: [frontend] fix: fix next button display logic

* ADM-841: [frontend] fix: rename field

* ADM-841: [frontend] fix: rename field
  • Loading branch information
neomgb authored Mar 5, 2024
1 parent 5209bb3 commit 51517df
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/src/containers/MetricsStepper/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ const MetricsStepper = () => {
const { isShow: isShowBoard, isVerified: isBoardVerified } = config.board;
const { isShow: isShowPipeline, isVerified: isPipelineToolVerified } = config.pipelineTool;
const { isShow: isShowSourceControl, isVerified: isSourceControlVerified } = config.sourceControl;
const isShowCycleTimeSettings = requiredData.includes(REQUIRED_DATA.CYCLE_TIME);
const isShowCycleTimeSettings =
requiredData.includes(REQUIRED_DATA.CYCLE_TIME) ||
requiredData.includes(REQUIRED_DATA.CLASSIFICATION) ||
requiredData.includes(REQUIRED_DATA.VELOCITY);
const isCycleTimeSettingsVerified = cycleTimeSettings.some((e) => e.value === DONE);
const isShowClassificationSetting = requiredData.includes(REQUIRED_DATA.CLASSIFICATION);
const isClassificationSettingVerified = metricsConfig.targetFields.some((item) => item.flag);
Expand Down

0 comments on commit 51517df

Please sign in to comment.