1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-30 15:13:32 +00:00

telemetry for organizations

This commit is contained in:
Kyle Spearrin
2017-04-26 10:32:14 -04:00
parent 90b0f3201e
commit d8f54fc15a
14 changed files with 34 additions and 10 deletions

View File

@@ -1,7 +1,10 @@
angular
.module('bit.organization')
.controller('organizationPeopleInviteController', function ($scope, $state, $uibModalInstance, apiService, cipherService) {
.controller('organizationPeopleInviteController', function ($scope, $state, $uibModalInstance, apiService, cipherService,
$analytics) {
$analytics.eventTrack('organizationPeopleInviteController', { category: 'Modal' });
$scope.loading = true;
$scope.subvaults = [];
$scope.selectedSubvaults = {};
@@ -75,6 +78,7 @@
subvaults: subvaults,
accessAllSubvaults: model.accessAllSubvaults
}, function () {
$analytics.eventTrack('Invited User');
$uibModalInstance.close();
}).$promise;
};