Kusuma04-dev commented on code in PR #2888:
URL: 
https://github.com/apache/incubator-kie-tools/pull/2888#discussion_r1937231523


##########
packages/dmn-editor/src/mutations/updateExpressionWidths.ts:
##########
@@ -34,6 +34,6 @@ export function updateExpressionWidths({
 
   widthsExtension["kie:ComponentWidths"] = [...widthsById.entries()].map(([k, 
v]) => ({
     "@_dmnElementRef": k,
-    "kie:width": v.map((vv) => ({ __$$text: vv })),
+    "kie:width": v.filter((width) => width !== undefined).map((vv) => ({ 
__$$text: vv })),

Review Comment:
   Hi @jomarko ,Yes you are correct.Issue is adding extra count in the above 
code and i have changed now.Thanks for the review.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to