Skip to content

Commit c4ddd8f

Browse files
authored
Merge branch 'master' into license-warning
2 parents f33c940 + 967b8ef commit c4ddd8f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

plugins/push/frontend/public/javascripts/countly.views.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,6 +1122,10 @@
11221122
this.setIsLoading(true);
11231123
countlyPushNotification.service.fetchById(this.id)
11241124
.then(function(response) {
1125+
//Set default settings
1126+
response.isEe = (typeof countlySegmentation !== 'undefined');
1127+
response.isGeo = (typeof countlyLocationTargetComponent !== 'undefined');
1128+
response.isCohorts = (typeof countlyCohorts !== 'undefined');
11251129
self.setPushNotificationUnderEdit(response);
11261130
if (self.userCommand === self.UserCommandEnum.DUPLICATE) {
11271131
self.setId(null);

0 commit comments

Comments
 (0)