@configuratorware/configurator-frontendgui 1.27.4 → 1.27.8
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.27.
|
|
3
|
+
"version": "1.27.8",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"react-router-dom": "^5.2.0",
|
|
64
64
|
"react-swipeable": "^5.5.1",
|
|
65
65
|
"react-zoom-pan-pinch": "^2.1.3",
|
|
66
|
-
"redhotmagma-graphics-editor": "1.27.
|
|
67
|
-
"redhotmagma-visualization": "1.27.
|
|
66
|
+
"redhotmagma-graphics-editor": "1.27.8",
|
|
67
|
+
"redhotmagma-visualization": "1.27.8",
|
|
68
68
|
"redux": "^4.0.5",
|
|
69
69
|
"redux-logger": "^3.0.6",
|
|
70
70
|
"redux-persist": "^5.10.0",
|
|
@@ -274,6 +274,8 @@ class Optiondetail extends React.Component {
|
|
|
274
274
|
const { loading, loadingContainerHeight } = this.state;
|
|
275
275
|
const showNav = _.isArray(options) && options.length > 1;
|
|
276
276
|
const detailImage = details.detailImage;
|
|
277
|
+
const query = new URLSearchParams(location.search);
|
|
278
|
+
const hidePrices = query.has('_hide_prices') && query.get('_hide_prices') === '1';
|
|
277
279
|
|
|
278
280
|
const detailsContent = (
|
|
279
281
|
<div>
|
|
@@ -287,9 +289,11 @@ class Optiondetail extends React.Component {
|
|
|
287
289
|
{details.abstract}
|
|
288
290
|
</Markdown>
|
|
289
291
|
)}
|
|
290
|
-
|
|
291
|
-
{
|
|
292
|
-
|
|
292
|
+
{!hidePrices && (
|
|
293
|
+
<Typography component="div" variant="body2" className={classes.priceFormatted}>
|
|
294
|
+
{details.priceFormatted}
|
|
295
|
+
</Typography>
|
|
296
|
+
)}
|
|
293
297
|
{details.description && (
|
|
294
298
|
<Markdown
|
|
295
299
|
MdComponent={Typography}
|
|
@@ -52,7 +52,7 @@ export const Configurator = props => {
|
|
|
52
52
|
if (imageOnly) {
|
|
53
53
|
Services.visualization.enableDesignAreaInteraction(false);
|
|
54
54
|
} else {
|
|
55
|
-
Services.visualization.
|
|
55
|
+
Services.visualization.initDesignAreaInteraction();
|
|
56
56
|
}
|
|
57
57
|
}, [imageOnly]);
|
|
58
58
|
|