From c98354db63994a0b8d9837e24e6cb7c5cd53398a Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 16 Apr 2020 10:33:28 +0800 Subject: [PATCH] shop: configurations -> JSON --- static/js/shop.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/static/js/shop.jsx b/static/js/shop.jsx index c5115eb..af0cdd0 100644 --- a/static/js/shop.jsx +++ b/static/js/shop.jsx @@ -330,7 +330,7 @@ class Layout extends React.PureComponent {

- Add your own configuration below. Should be something like: + Input the JSON description below. Should be something like:
{JSON.stringify({"items":[{"pn":"1123"},{"pn":"2118"},{"pn":"2118"},{"pn":"2128"}],"type":"desktop"})}

@@ -342,7 +342,7 @@ class Layout extends 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 ? (
@@ -987,7 +987,7 @@ class OrderPanel extends React.PureComponent {
@@ -1217,7 +1217,7 @@ class OrderForm extends React.PureComponent {