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 +8 -3
- package/locales/ar.json +2 -1
- package/locales/en.json +2 -1
- package/locales/es.json +2 -1
- package/locales/fr.json +2 -1
- package/locales/it.json +2 -1
- package/locales/nl.json +2 -1
- package/package.json +1 -1
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: [
|
|
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
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