muba-posting 4.1.5 → 4.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/Publish6.js +1 -1
  2. package/package.json +1 -1
package/Publish6.js CHANGED
@@ -129,7 +129,7 @@ export default class Publish6 extends React.Component {
129
129
 
130
130
  const responseJson = await this.props.request(this.props.context, PHONE_REGISTERED, body);
131
131
  validate = responseJson.value === 'true' && validate;
132
- this.setState({ existingPhoneError: !phoneFree });
132
+ this.setState({ existingPhoneError: responseJson.value !== 'true' });
133
133
 
134
134
  this.languageItem.forEach(element => validate = element.validateLanguageItem() && validate);
135
135
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "muba-posting",
3
- "version": "4.1.5",
3
+ "version": "4.1.6",
4
4
  "description": "Posting",
5
5
  "main": "Posting.js",
6
6
  "scripts": {