kitchen-simulator 11.32.0 → 11.34.0
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/es/class/item.js +2 -2
- package/lib/class/item.js +2 -2
- package/package.json +1 -1
package/es/class/item.js
CHANGED
|
@@ -1506,10 +1506,10 @@ var Item = /*#__PURE__*/function () {
|
|
|
1506
1506
|
var _itemGroup;
|
|
1507
1507
|
itemGroup = MoldingUtils.getItemGroupFromMolding(layer, curItem, md);
|
|
1508
1508
|
itemGroup = (_itemGroup = itemGroup) === null || _itemGroup === void 0 ? void 0 : _itemGroup.filter(function (it) {
|
|
1509
|
-
return isWarningCabinet(it);
|
|
1509
|
+
return !isWarningCabinet(it);
|
|
1510
1510
|
});
|
|
1511
1511
|
itemGroup.forEach(function (it) {
|
|
1512
|
-
state = state.setIn(['scene', 'layers', layerID, 'items', it.id, 'molding'],
|
|
1512
|
+
state = state.setIn(['scene', 'layers', layerID, 'items', it.id, 'molding'], tmpMolding);
|
|
1513
1513
|
});
|
|
1514
1514
|
});
|
|
1515
1515
|
};
|
package/lib/class/item.js
CHANGED
|
@@ -1513,10 +1513,10 @@ var Item = exports["default"] = /*#__PURE__*/function () {
|
|
|
1513
1513
|
var _itemGroup;
|
|
1514
1514
|
itemGroup = _export2.MoldingUtils.getItemGroupFromMolding(layer, curItem, md);
|
|
1515
1515
|
itemGroup = (_itemGroup = itemGroup) === null || _itemGroup === void 0 ? void 0 : _itemGroup.filter(function (it) {
|
|
1516
|
-
return (0, _cabinetWarning.isWarningCabinet)(it);
|
|
1516
|
+
return !(0, _cabinetWarning.isWarningCabinet)(it);
|
|
1517
1517
|
});
|
|
1518
1518
|
itemGroup.forEach(function (it) {
|
|
1519
|
-
state = state.setIn(['scene', 'layers', layerID, 'items', it.id, 'molding'],
|
|
1519
|
+
state = state.setIn(['scene', 'layers', layerID, 'items', it.id, 'molding'], tmpMolding);
|
|
1520
1520
|
});
|
|
1521
1521
|
});
|
|
1522
1522
|
};
|