muba-posting 8.0.13 → 8.0.14

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 +5 -1
  2. package/package.json +1 -1
package/Publish6.js CHANGED
@@ -137,7 +137,11 @@ export default class Publish6 extends React.Component {
137
137
 
138
138
  this.setState({ requiredPhoneError: !validate });
139
139
 
140
- return this.reference.onSubmitValidate() && validate;
140
+ if (this.reference) {
141
+ validate = this.reference.onSubmitValidate() && validate;
142
+ }
143
+
144
+ return validate;
141
145
  }
142
146
 
143
147
  setLanguages() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "muba-posting",
3
- "version": "8.0.13",
3
+ "version": "8.0.14",
4
4
  "description": "Posting",
5
5
  "main": "Posting.js",
6
6
  "scripts": {