Skip to content

Commit

Permalink
Jetpack Onboarding: Add country field to business address step (#22580)
Browse files Browse the repository at this point in the history
* Jetpack Onboarding: Add country field to Business Address step

* State: Add country field to JPO settings schema
  • Loading branch information
tyxla authored Feb 20, 2018
1 parent cd1f62b commit 276613f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/jetpack-onboarding/steps/business-address.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class JetpackOnboardingBusinessAddressStep extends React.PureComponent {
state: '',
street: '',
zip: '',
country: '',
};

state = get( this.props.settings, 'businessAddress' ) || this.constructor.emptyState;
Expand All @@ -55,6 +56,7 @@ class JetpackOnboardingBusinessAddressStep extends React.PureComponent {
city: translate( 'City' ),
state: translate( 'State / Region / Province' ),
zip: translate( 'ZIP code' ),
country: translate( 'Country' ),
};
}

Expand Down
1 change: 1 addition & 0 deletions client/state/jetpack-onboarding/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export const jetpackOnboardingSettingsSchema = {
city: { type: 'string' },
state: { type: 'string' },
zip: { type: 'string' },
country: { type: 'string' },
},
},
],
Expand Down

0 comments on commit 276613f

Please sign in to comment.