1
0
mirror of https://github.com/bitwarden/web synced 2025-12-16 08:13:22 +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('organizationPeopleEditController', function ($scope, $state, $uibModalInstance, apiService, cipherService, id) {
.controller('organizationPeopleEditController', function ($scope, $state, $uibModalInstance, apiService, cipherService, id,
$analytics) {
$analytics.eventTrack('organizationPeopleEditController', { category: 'Modal' });
$scope.loading = true;
$scope.subvaults = [];
$scope.selectedSubvaults = {};
@@ -86,6 +89,7 @@
subvaults: subvaults,
accessAllSubvaults: $scope.accessAllSubvaults
}, function () {
$analytics.eventTrack('Edited User');
$uibModalInstance.close();
}).$promise;
};