1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00

set teams plan when business is checked

This commit is contained in:
Kyle Spearrin
2017-04-07 13:54:03 -04:00
parent b11d7be990
commit 60f62b2b50
2 changed files with 9 additions and 2 deletions

View File

@@ -48,6 +48,12 @@
}
};
$scope.changedBusiness = function () {
if ($scope.model.ownedBusiness) {
$scope.model.plan = 'teams'
}
};
$scope.submit = function (model) {
var shareKey = cryptoService.makeShareKey();