Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewPrigorshnev committed Mar 26, 2024
1 parent 08c2a4e commit 95981fc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/assigner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -547,8 +547,7 @@ def already_assigned?(assign_to, type, note, status)
end

def reassign?
return false if !@target.is_a?(Topic)
Assignment.exists?(topic_id: @target.id, target: @target, active: true)
Assignment.exists?(target: @target, active: true)
end

def no_assignee_change?(assignee)
Expand Down

0 comments on commit 95981fc

Please sign in to comment.