Correctly import invited members.

This commit is contained in:
Douwe Maan 2015-04-10 15:26:53 +02:00
parent 2a45eb6a91
commit 1c0824f451

View file

@ -93,7 +93,7 @@ class ProjectTeam
source_members.reject! do |member|
# Skip if user already present in team
target_user_ids.include?(member.user_id)
!member.invite? && target_user_ids.include?(member.user_id)
end
source_members.map! do |member|