Skip to content

Commit 7fd42a0

Browse files
committed
[SER-2110][fix] button toggle and regex value in edit drawer
1 parent ce6190d commit 7fd42a0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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)