Michiel Eggermont pushed to branch master at cms-community / 
hippo-addon-channel-manager


Commits:
848fae0b by Michiel Eggermont at 2017-07-17T10:50:44+02:00
CHANNELMGR-1313 Report usage statistic on project selection

- - - - -


1 changed file:

- frontend-ng/src/angularjs/channel/projectToggle/projectToggle.controller.js


Changes:

=====================================
frontend-ng/src/angularjs/channel/projectToggle/projectToggle.controller.js
=====================================
--- 
a/frontend-ng/src/angularjs/channel/projectToggle/projectToggle.controller.js
+++ 
b/frontend-ng/src/angularjs/channel/projectToggle/projectToggle.controller.js
@@ -21,6 +21,7 @@ class ProjectToggleController {
     $translate,
     HippoIframeService,
     ProjectService,
+    CmsService,
   ) {
     'ngInject';
 
@@ -28,6 +29,7 @@ class ProjectToggleController {
     this.$translate = $translate;
     this.HippoIframeService = HippoIframeService;
     this.ProjectService = ProjectService;
+    this.CmsService = CmsService;
   }
 
   $onInit() {
@@ -45,6 +47,7 @@ class ProjectToggleController {
   }
 
   set selectedProject(selectedProject) {
+    this.CmsService.reportUsageStatistic('CMSChannelsProjectSwitch');
     this.ProjectService.updateSelectedProject(selectedProject.id);
   }
 }



View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-addon-channel-manager/commit/848fae0b8934f32948bd69a2d4888eeb59052bd4

---
View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-addon-channel-manager/commit/848fae0b8934f32948bd69a2d4888eeb59052bd4
You're receiving this email because of your account on code.onehippo.org.
_______________________________________________
Hippocms-svn mailing list
Hippocms-svn@lists.onehippo.org
https://lists.onehippo.org/mailman/listinfo/hippocms-svn

Reply via email to