Skip to content

Commit d335e87

Browse files
authored
Merge pull request #1749 from topcoder-platform/PM-4438_infographic-when-ai-gating
PM-4438 - Update infographic when ai is gating
2 parents db9c6c1 + fd50d60 commit d335e87

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

  • src/components/ChallengeEditor/ChallengeReviewer-Field/ReviewSummary

src/components/ChallengeEditor/ChallengeReviewer-Field/ReviewSummary/ReviewSummary.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -311,15 +311,13 @@ const ReviewSummary = ({
311311
)}
312312

313313
{/* Failure Path: Arrow down from AI Gate (only for AI_GATING with gating workflows) */}
314-
{hasAIConfigWorkflows && isAIGating && (
314+
{hasAIConfigWorkflows && isAIGatingMode && (
315315
<div className={cn(styles.arrow, styles.failureArrow)} style={{ gridColumn: 3, gridRow: 2 }}>
316316
317317
{/* Failure Label */}
318-
{hasAIConfigWorkflows && isAIGating && (
319-
<div className={styles.failLabel} style={{ gridColumn: 3, gridRow: '2.5', alignSelf: 'center' }}>
320-
&lt; {aiConfiguration.minPassingThreshold || 75}%
321-
</div>
322-
)}
318+
<div className={styles.failLabel} style={{ gridColumn: 3, gridRow: '2.5', alignSelf: 'center' }}>
319+
&lt; {aiConfiguration.minPassingThreshold || 75}%
320+
</div>
323321
324322
</div>
325323
)}

0 commit comments

Comments
 (0)