danielzhe commented on code in PR #2316:
URL:
https://github.com/apache/incubator-kie-tools/pull/2316#discussion_r1599127280
##########
packages/stunner-editors-dmn-loader/src/index.tsx:
##########
@@ -98,7 +98,7 @@ const BoxedExpressionEditorWrapper:
React.FunctionComponent<BoxedExpressionEdito
const beeGwtService: BeeGwtService = {
getDefaultExpressionDefinition(logicType, dataType, isRoot) {
const defaultExpression = gwtExpressionToDmnExpression(
-
window.beeApiWrapper?.getDefaultExpressionDefinition(gwtLogicType(logicType),
dataType)
+
window.beeApiWrapper?.getDefaultExpressionDefinition(gwtLogicType(logicType),
dataType ?? "<Undefined>")
Review Comment:
As we talked in pvt, I changed it to the proposed change by @ljmotta :)
--
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]