@configuratorware/configurator-admingui 1.24.6 → 1.24.7

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-admingui",
3
- "version": "1.24.6",
3
+ "version": "1.24.7",
4
4
  "license": "UNLICENSED",
5
5
  "private": false,
6
6
  "files": [
@@ -87,7 +87,7 @@
87
87
  "react-redux-i18n": "^1.9.3",
88
88
  "react-router": "^3.0.2",
89
89
  "react-sortable-hoc": "^1.3.1",
90
- "redhotmagma-visualization": "1.24.6",
90
+ "redhotmagma-visualization": "1.24.7",
91
91
  "redux": "^4.0.1",
92
92
  "redux-logger": "^3.0.6",
93
93
  "redux-persist": "^5.10.0",
@@ -146,8 +146,8 @@ export const setOverwriteComponentOrder = value => async (dispatch, getState) =>
146
146
  });
147
147
  const item = get(entityState, 'data.item.value');
148
148
  if (item) {
149
- const { id, identifier } = item;
150
- const data = { id, identifier, overwriteComponentOrder: value };
149
+ const { stock, ...itemData } = item;
150
+ const data = { ...itemData, overwriteComponentOrder: value };
151
151
  const url = `items`;
152
152
  return dispatch(postData({ url }, data, CONFIGURATION_SAVE_ITEM)).then(apiAction => {
153
153
  switch (apiAction.type) {