This is an automated email from the ASF dual-hosted git repository.
jomarko 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 bc53b027bf9 kie-issues#1581: New DMN Editor is getting crashed when
working with Decision Table Annotation (#2888)
bc53b027bf9 is described below
commit bc53b027bf96ef6041316b96d816e29a095c39b0
Author: Kusuma04-dev <[email protected]>
AuthorDate: Mon Feb 3 14:45:57 2025 +0530
kie-issues#1581: New DMN Editor is getting crashed when working with
Decision Table Annotation (#2888)
Co-authored-by: chinnamatli kusumalatha
<[email protected]>
---
.../src/expressions/DecisionTableExpression/DecisionTableExpression.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/packages/boxed-expression-component/src/expressions/DecisionTableExpression/DecisionTableExpression.tsx
b/packages/boxed-expression-component/src/expressions/DecisionTableExpression/DecisionTableExpression.tsx
index 4816741e791..04ece3f6173 100644
---
a/packages/boxed-expression-component/src/expressions/DecisionTableExpression/DecisionTableExpression.tsx
+++
b/packages/boxed-expression-component/src/expressions/DecisionTableExpression/DecisionTableExpression.tsx
@@ -858,7 +858,7 @@ export function DecisionTableExpression({
: DECISION_TABLE_ANNOTATION_DEFAULT_WIDTH;
const nextValues = [...prev];
- const minValuesLength = args.beforeIndex + 1 + args.columnsCount;
+ const minValuesLength = args.beforeIndex + args.columnsCount;
nextValues.push(...Array(Math.max(0, minValuesLength -
nextValues.length)));
for (let i = 0; i < args.columnsCount; i++) {
const widthIndex = args.beforeIndex + i + 1; // + 1 to account for
the rowIndex column.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]