Skip to content

Commit dfd37f9

Browse files
Merge pull request #5733 from Countly/SER-2110
[SER-2110][fix] button toggle and regex value in edit drawer
2 parents f9fa851 + 7e5f888 commit dfd37f9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## Version 24.05.XX
22
Enterprise fixes:
33
- [nps] Fixed bug in the editor where the "internal name" field was not mandatory
4+
- [data-manager] Fixed UI bug where rules were not visible when editing "Merge by regex" transformations
45

56
## Version 24.05.16
67
Fixes:

plugins/data-manager/frontend/public/javascripts/countly.views.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1131,11 +1131,12 @@
11311131
}
11321132
if (doc.actionType === 'EVENT_MERGE' && doc.isRegexMerge === true) {
11331133
doc.actionType = 'merge-regex';
1134+
doc.eventTransformTargetRegex = doc.transformTarget[0];
11341135
}
11351136
else {
11361137
doc.actionType = doc.actionType.split('_')[1].toLowerCase();
11371138
}
1138-
doc.isExistingEvent = 'true';
1139+
doc.isExistingEvent = doc.isExistingEvent ? 'true' : 'false';
11391140
// doc.tab;
11401141
// delete doc.transformType;
11411142
doc.name = countlyCommon.unescapeHtml(doc.name);

0 commit comments

Comments
 (0)