muba-posting 4.2.4 → 4.2.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/Posting.js +1 -1
  2. package/package.json +17 -17
package/Posting.js CHANGED
@@ -402,7 +402,7 @@ export default class Posting extends React.Component {
402
402
  this._goToPage(Views.PREVIEW, null, response);
403
403
 
404
404
  const paymentOnlineActive = await this.props.request(this, PAYMENT_ONLINE_ACTIVE, { regionId: this.state.postingAd.region });
405
- if (!this.businessId && paymentOnlineActive.value === 'true') {
405
+ if (!this.state.businessId && paymentOnlineActive.value === 'true') {
406
406
  this._goToPage(Views.PAYMENT_ONLINE);
407
407
  }
408
408
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "muba-posting",
3
- "version": "4.2.4",
3
+ "version": "4.2.6",
4
4
  "description": "Posting",
5
5
  "main": "Posting.js",
6
6
  "scripts": {
@@ -17,21 +17,21 @@
17
17
  },
18
18
  "homepage": "https://github.com/Mubawab/muba-posting#readme",
19
19
  "dependencies": {
20
- "@react-native-async-storage/async-storage": "~1.17.3",
21
- "muba-custom-scroll-view": "5",
22
- "muba-display-price": "5",
23
- "muba-font": "5",
24
- "muba-i18n": "5",
25
- "muba-input-select": "5",
26
- "muba-input-text": "5",
27
- "muba-loading-cursor": "5",
28
- "muba-map": "5",
29
- "muba-output-text": "5",
30
- "muba-phone-group": "5",
31
- "muba-picture": "5",
32
- "muba-payment-online": "5",
33
- "muba-popup-advice": "5",
34
- "muba-popup-permissions": "5",
35
- "muba-radio-button-group": "5"
20
+ "@react-native-async-storage/async-storage": "~1.15.0",
21
+ "muba-custom-scroll-view": "4",
22
+ "muba-display-price": "4",
23
+ "muba-font": "4",
24
+ "muba-i18n": "4",
25
+ "muba-input-select": "4",
26
+ "muba-input-text": "4",
27
+ "muba-loading-cursor": "4",
28
+ "muba-map": "4",
29
+ "muba-output-text": "4",
30
+ "muba-phone-group": "4",
31
+ "muba-picture": "4",
32
+ "muba-payment-online": "4",
33
+ "muba-popup-advice": "4",
34
+ "muba-popup-permissions": "4",
35
+ "muba-radio-button-group": "4"
36
36
  }
37
37
  }