You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by ti...@apache.org on 2025/03/13 14:36:20 UTC
(incubator-kie-tools) branch main updated: NO-ISSUE: Support deleting variables from the process instance in the jBPM Dev UI and Management Console (#2995)
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 638a929dfb2 NO-ISSUE: Support deleting variables from the process instance in the jBPM Dev UI and Management Console (#2995)
638a929dfb2 is described below
commit 638a929dfb29020903f3b36db691b7fce3869dae
Author: Thiago Lugli <th...@users.noreply.github.com>
AuthorDate: Thu Mar 13 11:36:16 2025 -0300
NO-ISSUE: Support deleting variables from the process instance in the jBPM Dev UI and Management Console (#2995)
---
packages/runtime-tools-management-console-webapp/webpack.config.js | 3 +++
.../envelope/components/ProcessVariables/ProcessVariables.tsx | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/packages/runtime-tools-management-console-webapp/webpack.config.js b/packages/runtime-tools-management-console-webapp/webpack.config.js
index 29f928cbeed..e8cfc80b223 100644
--- a/packages/runtime-tools-management-console-webapp/webpack.config.js
+++ b/packages/runtime-tools-management-console-webapp/webpack.config.js
@@ -145,6 +145,9 @@ module.exports = async (webpackEnv) => {
},
allowedHosts: "all",
},
+ watchOptions: {
+ poll: 1000,
+ },
});
};
diff --git a/packages/runtime-tools-process-enveloped-components/src/processDetails/envelope/components/ProcessVariables/ProcessVariables.tsx b/packages/runtime-tools-process-enveloped-components/src/processDetails/envelope/components/ProcessVariables/ProcessVariables.tsx
index fdfa65f8905..a5f0ceef085 100644
--- a/packages/runtime-tools-process-enveloped-components/src/processDetails/envelope/components/ProcessVariables/ProcessVariables.tsx
+++ b/packages/runtime-tools-process-enveloped-components/src/processDetails/envelope/components/ProcessVariables/ProcessVariables.tsx
@@ -48,7 +48,7 @@ const ProcessVariables: React.FC<ProcessVariablesProps & OUIAProps> = ({
}) => {
const handleVariablesChange = useCallback(
(e) => {
- setUpdateJson((currentUpdateJson) => ({ ...currentUpdateJson, ...e.updated_src }));
+ setUpdateJson(e.updated_src);
setDisplayLabel(true);
},
[setDisplayLabel, setUpdateJson]
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org