@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.js
CHANGED
|
@@ -1049,9 +1049,11 @@ function PropertiesPanel(props) {
|
|
|
1049
1049
|
return minDash.get(layout, key, defaultValue);
|
|
1050
1050
|
};
|
|
1051
1051
|
const setLayoutForKey = (key, config) => {
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1052
|
+
setLayout(prevLayout => {
|
|
1053
|
+
const newLayout = minDash.assign({}, prevLayout);
|
|
1054
|
+
minDash.set(newLayout, key, config);
|
|
1055
|
+
return newLayout;
|
|
1056
|
+
});
|
|
1055
1057
|
};
|
|
1056
1058
|
const layoutContext = {
|
|
1057
1059
|
layout,
|