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 380bbae0f85 [NO-ISSUE] Always switch to Editor tab when 
programmatically opening a Boxed Expression in the DMN Editor (#2992)
380bbae0f85 is described below

commit 380bbae0f8502fbe19a5535d81feb98992b6ac82
Author: Tiago Bento <[email protected]>
AuthorDate: Thu Mar 13 10:37:56 2025 -0400

    [NO-ISSUE] Always switch to Editor tab when programmatically opening a 
Boxed Expression in the DMN Editor (#2992)
---
 packages/dmn-editor/src/DmnEditor.tsx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/packages/dmn-editor/src/DmnEditor.tsx 
b/packages/dmn-editor/src/DmnEditor.tsx
index 8ed52f6298f..81c185aa606 100644
--- a/packages/dmn-editor/src/DmnEditor.tsx
+++ b/packages/dmn-editor/src/DmnEditor.tsx
@@ -222,6 +222,7 @@ export const DmnEditorInternal = ({
       },
       openBoxedExpressionEditor: (nodeId: string) => {
         dmnEditorStoreApi.setState((state) => {
+          state.navigation.tab = DmnEditorTab.EDITOR;
           state.dispatch(state).boxedExpressionEditor.open(nodeId);
         });
       },


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

Reply via email to