@bpmn-io/properties-panel 3.36.0 → 3.37.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/dist/index.esm.js +5 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/dist/index.esm.js
CHANGED
|
@@ -1028,9 +1028,11 @@ function PropertiesPanel(props) {
|
|
|
1028
1028
|
return get(layout, key, defaultValue);
|
|
1029
1029
|
};
|
|
1030
1030
|
const setLayoutForKey = (key, config) => {
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1031
|
+
setLayout(prevLayout => {
|
|
1032
|
+
const newLayout = assign({}, prevLayout);
|
|
1033
|
+
set(newLayout, key, config);
|
|
1034
|
+
return newLayout;
|
|
1035
|
+
});
|
|
1034
1036
|
};
|
|
1035
1037
|
const layoutContext = {
|
|
1036
1038
|
layout,
|