Skip to content

Commit d8cbcbb

Browse files
committed
fix: default challenge reviewer form
1 parent dd39707 commit d8cbcbb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/apps/admin/src/lib/components/DefaultReviewersAddForm/DefaultReviewersAddForm.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,11 @@ export const DefaultReviewersAddForm: FC<Props> = (props: Props) => {
153153
requestBody.baseCoefficient = undefined
154154
requestBody.incrementalCoefficient = undefined
155155
requestBody.opportunityType = undefined
156+
// The reason for flipping the value is that
157+
// in UI the checkbox is shown as "is AI review"
158+
// but in the database its denoted as member review
159+
// so we are just flipping the boolean value
160+
requestBody.isMemberReview = false
156161
} else {
157162
// eslint-disable-next-line unicorn/no-null
158163
requestBody.aiWorkflowId = null

0 commit comments

Comments
 (0)