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 0a8f1a7
Show file tree
Hide file tree
Showing 10 changed files with 182 additions and 164 deletions.
18 changes: 9 additions & 9 deletions app/autofill.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ 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,
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: guid
})
}
Expand Down
Loading

0 comments on commit 0a8f1a7

Please sign in to comment.