Skip to content

Commit 788d264

Browse files
committed
fix: virus scan score as link
1 parent 002b7eb commit 788d264

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ const AiReviewsTable: FC<AiReviewsTableProps> = props => {
9090
<div className={styles.label}>Score</div>
9191
<div className={styles.value}>
9292
{run.status === 'SUCCESS' ? (
93-
run.workflow.scorecard ? (
93+
(run.workflow.scorecard && run.workflow.id) ? (
9494
<Link
9595
to={`../reviews/${props.submission.id}?workflowId=${run.workflow.id}`}
9696
>

0 commit comments

Comments
 (0)