Skip to content

Commit 7a3443c

Browse files
committed
fix: don't show warning without business phone
ref issue #4103
1 parent 5a8ba6f commit 7a3443c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/settings/routes/profile/components/ProfileSettingsForm.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ class ProfileSettingsForm extends Component {
310310
required={fieldsConfig.country}
311311
validationError="Please enter Country"
312312
/>
313-
{this.state.countrySelectionDirty && (
313+
{this.state.countrySelectionDirty && !_.isUndefined(fieldsConfig.businessPhone) && (
314314
<div styleName="warningText">
315315
Note: Changing the country also updates the country code of
316316
business phone.

0 commit comments

Comments
 (0)