diff --git a/CHANGELOG.md b/CHANGELOG.md index 4337ee6ff3e..e5d0c24e021 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## Version 24.05.XX Enterprise fixes: - [nps] Fixed bug in the editor where the "internal name" field was not mandatory +- [data-manager] Fixed UI bug where rules were not visible when editing "Merge by regex" transformations ## Version 24.05.16 Fixes: diff --git a/plugins/data-manager/frontend/public/javascripts/countly.views.js b/plugins/data-manager/frontend/public/javascripts/countly.views.js index fff2cd5f1c3..ef5f22390e2 100644 --- a/plugins/data-manager/frontend/public/javascripts/countly.views.js +++ b/plugins/data-manager/frontend/public/javascripts/countly.views.js @@ -1131,11 +1131,12 @@ } if (doc.actionType === 'EVENT_MERGE' && doc.isRegexMerge === true) { doc.actionType = 'merge-regex'; + doc.eventTransformTargetRegex = doc.transformTarget[0]; } else { doc.actionType = doc.actionType.split('_')[1].toLowerCase(); } - doc.isExistingEvent = 'true'; + doc.isExistingEvent = doc.isExistingEvent ? 'true' : 'false'; // doc.tab; // delete doc.transformType; doc.name = countlyCommon.unescapeHtml(doc.name);