From ea743c5576e540d1207166d412d75bc634499f13 Mon Sep 17 00:00:00 2001 From: Marc Boorshtein Date: Mon, 11 Dec 2023 14:48:56 -0500 Subject: [PATCH] don't automatically update userData --- html/register/public/js/register-functions.js | 1 + html/register/src/Dashboard.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/html/register/public/js/register-functions.js b/html/register/public/js/register-functions.js index cd5a6f1..d138c50 100644 --- a/html/register/public/js/register-functions.js +++ b/html/register/public/js/register-functions.js @@ -11,5 +11,6 @@ eventObj.config.attributes["gitUrl"].show = json.isGit; eventObj.config.attributes["gitSshKey"].show = json.isGit; eventObj.setConfig(eventObj.config); + eventObj.setUserData(eventObj.userData); }); } diff --git a/html/register/src/Dashboard.js b/html/register/src/Dashboard.js index aa2afc7..f128506 100644 --- a/html/register/src/Dashboard.js +++ b/html/register/src/Dashboard.js @@ -385,7 +385,7 @@ function DashboardContent() { eval(attributeConfig.editJavaScriptFunction); } - setUserData(localUserData); + } function createTextListInput(attributeConfig) {