fix(assignments): make reshuffle concurrency-safe; preserve juryGroupId
All checks were successful
Build and Push Docker Image / build (push) Successful in 8m16s
All checks were successful
Build and Push Docker Image / build (push) Successful in 8m16s
This commit is contained in:
@@ -2452,7 +2452,7 @@ function JuryProgressTable({ roundId }: { roundId: string }) {
|
||||
disabled={reshuffleMutation.isPending}
|
||||
onClick={() => {
|
||||
const ok = window.confirm(
|
||||
`Reassign all pending/draft projects from ${juror.name} to other jurors within their caps? This cannot be undone.`
|
||||
`Reassign all unsubmitted projects from ${juror.name} to other jurors within their caps? Submitted and locked evaluations will be preserved. This cannot be undone.`
|
||||
)
|
||||
if (!ok) return
|
||||
reshuffleMutation.mutate({ roundId, jurorId: juror.id })
|
||||
|
||||
Reference in New Issue
Block a user