Skip to content

Commit 7b57c2d

Browse files
authoredJan 13, 2025··
Merge branch 'master' into SER-2260-parameterize-hard-coded-texts-in-feedback-widgets
2 parents 9497685 + f47b7f7 commit 7b57c2d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed
 

‎CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## Version xx.xx.xx
22

33
Fixes:
4+
- [core] Fixed a bug causing events to not being loaded when there's an escaped character in the event name
45
- [gridfs] fixes for moving to Promises
56
- [surveys] "Select one" text in the widget can be edited now
67

‎frontend/express/public/core/events/javascripts/countly.details.models.js

+3
Original file line numberDiff line numberDiff line change
@@ -886,6 +886,9 @@
886886
return countlyAllEvents.service.fetchAllEventsData(context, period)
887887
.then(function(res) {
888888
if (res) {
889+
if (Array.isArray(res.list)) {
890+
res.list = res.list.map(eventName => countlyCommon.unescapeHtml(eventName));
891+
}
889892
context.commit("setAllEventsData", res);
890893
if ((!context.state.selectedEventName) || (res.map && res.map[context.state.selectedEventName] && !res.map[context.state.selectedEventName].is_visible) || (res.list && res.list.indexOf(context.state.selectedEventName) === -1)) {
891894
var appId = countlyCommon.ACTIVE_APP_ID;

0 commit comments

Comments
 (0)
Please sign in to comment.