Skip to content

Commit

Permalink
Merge pull request #1368 from openjournals/waitlisted-label
Browse files Browse the repository at this point in the history
Remove the 'waitlisted' label if it exists
  • Loading branch information
arfon authored Oct 6, 2024
2 parents a82eb1c + 11894fe commit 1b56c09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/paper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ def create_review_issue(editor_handle, reviewers, branch=nil)
return false unless editor = Editor.where("lower(login) = ?", editor_handle.downcase).first

if labels.any?
new_labels = labels.keys + ["review"] - ["pre-review"]
new_labels = labels.keys + ["review"] - ["pre-review", "waitlisted"]
else
new_labels = ["review"]
end
Expand Down

0 comments on commit 1b56c09

Please sign in to comment.