jomarko commented on code in PR #2720:
URL:
https://github.com/apache/incubator-kie-tools/pull/2720#discussion_r1916982525
##########
packages/form-dmn/src/FormDmnOutputs.tsx:
##########
@@ -258,7 +262,18 @@ export function FormDmnOutputs({ openExecutionTab,
...props }: FormDmnOutputsPro
onAnimationEnd={(e) => onAnimationEnd(e, index)}
>
<CardTitle>
- <Title headingLevel={"h2"}>{dmnFormResult.decisionName}</Title>
+ <Flex justifyContent={{ default: "justifyContentSpaceBetween" }}>
+ <Title headingLevel={"h2"}>{dmnFormResult.decisionName}</Title>
+ {props.openBoxedExpressionEditor !== undefined && (
+ <Button
+ variant={"plain"}
+ title={`Open ${dmnFormResult.decisionName} expression`}
+ icon={<ArrowUpIcon />}
+ data-navigate-to-expression-id={dmnFormResult.decisionId}
+ onClick={() =>
props.openBoxedExpressionEditor?.(dmnFormResult.decisionId)}
+ />
+ )}
+ </Flex>
Review Comment:
should be fixed now
##########
packages/online-editor/src/dmnRunner/DmnRunnerDrawer.tsx:
##########
@@ -38,7 +41,7 @@ export function DmnRunnerDrawer(props:
React.PropsWithChildren<{}>) {
}
panelContent={
<DmnRunnerErrorBoundary>
- <DmnRunnerDrawerPanelContent />
+ <DmnRunnerDrawerPanelContent {...props} />
Review Comment:
should be fixed now
--
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]