From e96f799b5b192571b24075202a52751dbdf0db5b Mon Sep 17 00:00:00 2001 From: Sebastian Stamm Date: Wed, 27 Sep 2023 10:36:55 +0200 Subject: [PATCH] fix: handle variable and secret values as text --- src/main/resources/public/js/incident-modal.js | 5 ++--- src/main/resources/public/js/view-connectors.js | 7 +++++-- .../resources/public/js/view-process-instance.js | 13 +++++-------- 3 files changed, 12 insertions(+), 13 deletions(-) diff --git a/src/main/resources/public/js/incident-modal.js b/src/main/resources/public/js/incident-modal.js index 5fdc7eae..d67e50b9 100644 --- a/src/main/resources/public/js/incident-modal.js +++ b/src/main/resources/public/js/incident-modal.js @@ -113,8 +113,7 @@ async function confirmResolveIncidentModal() { showNotificationSuccess( "set-variables-" + key, - "Variables set successfully", - "" + variables + "" + "Variables set successfully" ); track?.("zeebePlay:single-operation", { @@ -127,7 +126,7 @@ async function confirmResolveIncidentModal() { .fail( showFailure( "set-variables" + scope, - "Failed to set variables " + variables + "." + "Failed to set variables." ) ); } diff --git a/src/main/resources/public/js/view-connectors.js b/src/main/resources/public/js/view-connectors.js index 4fe11036..767ef32a 100644 --- a/src/main/resources/public/js/view-connectors.js +++ b/src/main/resources/public/js/view-connectors.js @@ -22,9 +22,9 @@ function loadConnectorSecrets() { let row = ` ${index + 1} - ${secret.name} + - ${secret.value} +