Skip to content

Commit 9e930e7

Browse files
authored
Merge pull request #4132 from appirio-tech/issue-4103
fix: don't show warning without business phone
2 parents 379ff19 + 7a3443c commit 9e930e7

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)