Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Converts AutofillAddressPanel into redux component #9490

Merged
merged 1 commit into from
Jun 20, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions app/autofill.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ module.exports.init = () => {
})
}

module.exports.addAutofillAddress = (detail, guid) => {
module.exports.addAutofillAddress = (detail) => {
session.defaultSession.autofill.addProfile({
full_name: detail.name,
company_name: detail.organization,
street_address: detail.streetAddress,
city: detail.city,
state: detail.state,
postal_code: detail.postalCode,
country_code: detail.country,
phone: detail.phone,
email: detail.email,
guid: guid
full_name: detail.get('name'),
company_name: detail.get('organization'),
street_address: detail.get('streetAddress'),
city: detail.get('city'),
state: detail.get('state'),
postal_code: detail.get('postalCode'),
country_code: detail.get('country'),
phone: detail.get('phone'),
email: detail.get('email'),
guid: detail.get('guid')
})
}

Expand Down
Loading