This is an automated email from the ASF dual-hosted git repository.
tiagobento pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git
The following commit(s) were added to refs/heads/main by this push:
new 6d25f387b12 NO-ISSUE: Unable to copy and paste nodes in the new DMN
Editor (#2354)
6d25f387b12 is described below
commit 6d25f387b126a8b76b3c8e4078fcd73b1272e1ef
Author: Kbowers <[email protected]>
AuthorDate: Thu May 23 01:28:29 2024 +0200
NO-ISSUE: Unable to copy and paste nodes in the new DMN Editor (#2354)
---
packages/dmn-editor/src/diagram/DiagramCommands.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/dmn-editor/src/diagram/DiagramCommands.tsx
b/packages/dmn-editor/src/diagram/DiagramCommands.tsx
index a05ce8736df..991bc0b4728 100644
--- a/packages/dmn-editor/src/diagram/DiagramCommands.tsx
+++ b/packages/dmn-editor/src/diagram/DiagramCommands.tsx
@@ -225,7 +225,7 @@ export function DiagramCommands(props: {}) {
type: "KIE__tComponentsWidthsExtension",
attr: "kie:ComponentWidths",
})
- .randomize();
+ .randomize({ skipAlreadyAttributedIds: false });
dmnEditorStoreApi.setState((state) => {
state.dmn.model.definitions.drgElement ??= [];
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]