Skip to content
Snippets Groups Projects
Commit faf276bd authored by Frank Duncan's avatar Frank Duncan
Browse files

Remove None reviewers from validation for batch change

This is the same change as ee286ac5, but for batch reviewer change.

Issue ots/clients/smex/hypha-tracker#2: Can't assign Staff
as reviewers of applications
parent ee286ac5
Branches smex-2-fix-reviewers
Tags smex-deploy-20240703
No related merge requests found
......@@ -426,7 +426,7 @@ class BatchUpdateReviewersForm(forms.Form):
role_reviewers = [
user
for field, user in self.cleaned_data.items()
if field in self.role_fields
if field in self.role_fields and user
]
# If any of the users match and are set to multiple roles, throw an error
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment