1
0
mirror of https://github.com/bitwarden/web synced 2025-12-23 19:53:16 +00:00

share login modal

This commit is contained in:
Kyle Spearrin
2017-02-28 00:18:11 -05:00
parent 63c136a1ff
commit 1ed86899bb
8 changed files with 190 additions and 80 deletions

View File

@@ -1,21 +0,0 @@
angular
.module('bit.vault')
.controller('vaultShareController', function ($scope, apiService, $uibModalInstance, cryptoService, cipherService,
id, name, isFolder, $analytics) {
$analytics.eventTrack('vaultShareController', { category: 'Modal' });
$scope.cipher = {
id: id,
name: name,
isFolder: isFolder
};
$scope.sharePromise = null;
$scope.share = function () {
$uibModalInstance.close({});
};
$scope.close = function () {
$uibModalInstance.dismiss('cancel');
};
});