seat-editor 1.2.2 → 1.2.3

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.
@@ -107,7 +107,7 @@ const LayerView = (props) => {
107
107
  editorItem[mappingKey] !== null;
108
108
  const finalProps = isUsingMapping ? editorItem[mappingKey] : editorItem;
109
109
  if (colorMatchKey) {
110
- return finalProps.map((item) => {
110
+ return finalProps === null || finalProps === void 0 ? void 0 : finalProps.map((item) => {
111
111
  const match = colorMatchKey === null || colorMatchKey === void 0 ? void 0 : colorMatchKey.find((key) => key.key == (item === null || item === void 0 ? void 0 : item[statusKey]));
112
112
  if (match) {
113
113
  return Object.assign(Object.assign({}, item), { properties: Object.assign(Object.assign({}, item.properties), { fill: match.color }) });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "seat-editor",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",