shop: update generated JS

pull/49/head
Sebastien Bourdeauducq 2020-04-16 10:33:49 +08:00
parent c98354db63
commit b9b9620c67
1 changed files with 5 additions and 8 deletions

13
static/js/shop.min.js vendored
View File

@ -362,7 +362,7 @@ var Layout = /*#__PURE__*/function (_React$PureComponent) {
className: "form-group"
}, /*#__PURE__*/React.createElement("p", {
className: "small"
}, "Add your own configuration below. Should be something like:", /*#__PURE__*/React.createElement("br", null), JSON.stringify({
}, "Input the JSON description below. Should be something like:", /*#__PURE__*/React.createElement("br", null), JSON.stringify({
"items": [{
"pn": "1123"
}, {
@ -380,7 +380,7 @@ var Layout = /*#__PURE__*/function (_React$PureComponent) {
value: this.state.customconf,
className: "form-control w-100",
rows: "5",
placeholder: "Add your custom configuration here. e.g "
placeholder: "Input JSON description here."
})), this.state.error ? /*#__PURE__*/React.createElement("div", {
className: "form-group"
}, /*#__PURE__*/React.createElement("p", {
@ -1044,7 +1044,7 @@ var OrderPanel = /*#__PURE__*/function (_React$PureComponent8) {
style: {
'cursor': 'pointer'
},
value: "Import configurations",
value: "Import JSON",
onClick: onClickOpenImport
})), isMobile ? /*#__PURE__*/React.createElement("div", {
className: "mobileBtnDisplaySideMenu"
@ -1278,7 +1278,7 @@ var OrderForm = /*#__PURE__*/function (_React$PureComponent9) {
'cursor': 'pointer',
'fontWeight': '700'
},
value: "Show configurations",
value: "Show JSON",
onClick: onClickShow
}), /*#__PURE__*/React.createElement("input", {
className: "btn btn-primary w-100 m-0 ml-sm-2",
@ -1894,10 +1894,7 @@ var Shop = /*#__PURE__*/function (_React$PureComponent12) {
axios.post(data.API_RFQ, {
email: email,
note: note,
configuration: JSON.stringify(crate),
headers: {
'X-MLABS-OH': 'rlebcleu'
}
configuration: JSON.stringify(crate)
}).then(function (response) {
_this12.setState({
isProcessing: false,