@configuratorware/configurator-frontendgui 1.26.6 → 1.26.10
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@configuratorware/configurator-frontendgui",
|
|
3
|
-
"version": "1.26.
|
|
3
|
+
"version": "1.26.10",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
"react-router": "^5.2.0",
|
|
62
62
|
"react-router-dom": "^5.2.0",
|
|
63
63
|
"react-swipeable": "^5.5.1",
|
|
64
|
-
"redhotmagma-graphics-editor": "1.26.
|
|
65
|
-
"redhotmagma-visualization": "1.26.
|
|
64
|
+
"redhotmagma-graphics-editor": "1.26.10",
|
|
65
|
+
"redhotmagma-visualization": "1.26.10",
|
|
66
66
|
"redux": "^4.0.5",
|
|
67
67
|
"redux-logger": "^3.0.6",
|
|
68
68
|
"redux-persist": "^5.10.0",
|
|
@@ -241,6 +241,8 @@ class Optiondetail extends React.Component {
|
|
|
241
241
|
const { loading, loadingContainerHeight } = this.state;
|
|
242
242
|
const showNav = _.isArray(options) && options.length > 1;
|
|
243
243
|
const detailImage = details.detailImage;
|
|
244
|
+
const query = new URLSearchParams(location.search);
|
|
245
|
+
const hidePrices = query.has('_hide_prices') && query.get('_hide_prices') === '1';
|
|
244
246
|
|
|
245
247
|
const detailsContent = (
|
|
246
248
|
<div>
|
|
@@ -254,9 +256,11 @@ class Optiondetail extends React.Component {
|
|
|
254
256
|
{details.abstract}
|
|
255
257
|
</Markdown>
|
|
256
258
|
)}
|
|
257
|
-
|
|
258
|
-
{
|
|
259
|
-
|
|
259
|
+
{!hidePrices && (
|
|
260
|
+
<Typography component="div" variant="body2" className={classes.priceFormatted}>
|
|
261
|
+
{details.priceFormatted}
|
|
262
|
+
</Typography>
|
|
263
|
+
)}
|
|
260
264
|
{details.description && (
|
|
261
265
|
<Markdown
|
|
262
266
|
MdComponent={Typography}
|