Skip to content

Commit

Permalink
Update app/models/teacher.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
cycomachead authored May 10, 2024
1 parent b77845a commit d1d0ed5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/models/teacher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,6 @@ def personal_emails

private
def non_primary_emails
# email_addresses.where(primary: false)&.pluck(:email)
# below code is temporary for current PR, to make sure the frontend same as before (only one personal email)
email_addresses.where(primary: false)&.pluck(:email)
end
end

0 comments on commit d1d0ed5

Please sign in to comment.