mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-27 18:37:53 +08:00
fix(*): remove unnecessary code from last commit
This commit is contained in:
parent
46a6e229eb
commit
6af864e3bd
1 changed files with 0 additions and 7 deletions
|
@ -89,13 +89,6 @@ ParticipantsTextField = React.createClass
|
|||
false
|
||||
@props.change(updates)
|
||||
|
||||
_removeOne: (participant) ->
|
||||
field = @props.field
|
||||
updates = {}
|
||||
updates[field] = _.reject @props.participants[field], (p) ->
|
||||
p.email is participant.email
|
||||
@props.change(updates)
|
||||
|
||||
_add: (values) ->
|
||||
values = _.compact _.map values, (value) ->
|
||||
if value instanceof Contact
|
||||
|
|
Loading…
Reference in a new issue