Skip to content

Commit a70cc29

Browse files
authored
Merge pull request #1331 from topcoder-platform/PM-3060_fix-mobile-ai-scorecard-link
PM-3060 - on mobile, fix the ai scorecard link
2 parents aede246 + 9e07498 commit a70cc29

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/apps/review/src/lib/components/AiReviewsTable/AiReviewsTable.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,11 @@ const AiReviewsTable: FC<AiReviewsTableProps> = props => {
9191
<div className={styles.value}>
9292
{run.status === 'SUCCESS' ? (
9393
run.workflow.scorecard ? (
94-
<Link to={`/scorecard/${run.workflow.scorecard.id}`}>{run.score}</Link>
94+
<Link
95+
to={`../reviews/${props.submission.id}?workflowId=${run.workflow.id}`}
96+
>
97+
{run.score}
98+
</Link>
9599
) : run.score
96100
) : '-'}
97101
</div>

0 commit comments

Comments
 (0)