Skip to content

Commit

Permalink
Converts AutofillAddressPanel into redux component
Browse files Browse the repository at this point in the history
Resolves brave#9444

Auditors: @bsclifton @bridiver

Test Plan:
  • Loading branch information
NejcZdovc committed Jun 15, 2017
1 parent 6478bcd commit a863d3b
Show file tree
Hide file tree
Showing 11 changed files with 183 additions and 165 deletions.
20 changes: 10 additions & 10 deletions app/autofill.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ module.exports.init = () => {

module.exports.addAutofillAddress = (detail, guid) => {
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

0 comments on commit a863d3b

Please sign in to comment.