muba-posting 9.0.14 → 9.0.15

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.
package/Publish6.js CHANGED
@@ -76,7 +76,7 @@ export default class Publish6 extends React.Component {
76
76
  statusList: ['ACTIVE']
77
77
  });
78
78
 
79
- if (responseJson.httpStatus === 200) {
79
+ if (responseJson.httpStatus === 200 && responseJson.list.length > 0) {
80
80
  const elements = responseJson.list.map(item => ({
81
81
  section: false,
82
82
  value: item.id,
@@ -85,7 +85,13 @@ export default class Publish6 extends React.Component {
85
85
 
86
86
  this.setState({
87
87
  accessUsers: {
88
- elements: [...this.state.accessUsers.elements, ...elements],
88
+ elements: [
89
+ ...this.state.accessUsers.elements,
90
+ {
91
+ section: false, value: null, label: strings('setup.none')
92
+ },
93
+ ...elements
94
+ ],
89
95
  selectedItem: this.props.postingAd.accessUserId
90
96
  }
91
97
  })
@@ -264,7 +270,6 @@ export default class Publish6 extends React.Component {
264
270
  placeholder={strings('setup.select')}
265
271
  labelStyle={commonStyles.progressbarField}
266
272
  required={false}
267
- showAll={true}
268
273
  onChange={(value) => this.props.postingAd.accessUserId = value}
269
274
  scroll={(ref) => this.props.scroll(ref)}
270
275
  options={this.state.accessUsers}
package/locales/ar.json CHANGED
@@ -124,7 +124,8 @@
124
124
  "constructibility": "قابلية البناء",
125
125
  "delivery": "التسليم",
126
126
  "landStatus": "حالة الأرض",
127
- "mainContact": "جهة الاتصال الرئيسية"
127
+ "mainContact": "جهة الاتصال الرئيسية",
128
+ "none": "لا شيء"
128
129
  },
129
130
  "product": {
130
131
  "LISTING": "قوائم",
package/locales/en.json CHANGED
@@ -124,7 +124,8 @@
124
124
  "constructibility": "Constructibility",
125
125
  "delivery": "Delivery",
126
126
  "landStatus": "Land status",
127
- "mainContact": "Main contact"
127
+ "mainContact": "Main contact",
128
+ "none": "None"
128
129
  },
129
130
  "product": {
130
131
  "LISTING": "Listing",
package/locales/es.json CHANGED
@@ -124,7 +124,8 @@
124
124
  "constructibility": "Constructibilidad",
125
125
  "delivery": "Entrega",
126
126
  "landStatus": "Estado del terreno",
127
- "mainContact": "Contacto principal"
127
+ "mainContact": "Contacto principal",
128
+ "none": "Ninguno"
128
129
  },
129
130
  "product": {
130
131
  "LISTING": "Listing",
package/locales/fr.json CHANGED
@@ -124,7 +124,8 @@
124
124
  "constructibility": "Constructibilité",
125
125
  "delivery": "Livraison",
126
126
  "landStatus": "Statut du terrain",
127
- "mainContact": "Contact principal"
127
+ "mainContact": "Contact principal",
128
+ "none": "Aucun"
128
129
  },
129
130
  "product": {
130
131
  "LISTING": "Liste",
package/locales/it.json CHANGED
@@ -124,7 +124,8 @@
124
124
  "constructibility": "Costruibilità",
125
125
  "delivery": "Consegna",
126
126
  "landStatus": "Stato del terreno",
127
- "mainContact": "Contatto principale"
127
+ "mainContact": "Contatto principale",
128
+ "none": "Nessuno"
128
129
  },
129
130
  "product": {
130
131
  "LISTING": "Inserzioni",
package/locales/nl.json CHANGED
@@ -124,7 +124,8 @@
124
124
  "constructibility": "Constructief",
125
125
  "delivery": "Entree",
126
126
  "landStatus": "Staat van het land",
127
- "mainContact": "Hoofdcontact"
127
+ "mainContact": "Hoofdcontact",
128
+ "none": "Geen"
128
129
  },
129
130
  "product": {
130
131
  "LISTING": "Advertenties",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "muba-posting",
3
- "version": "9.0.14",
3
+ "version": "9.0.15",
4
4
  "description": "Posting",
5
5
  "main": "Posting.js",
6
6
  "scripts": {