mirror of
https://github.com/bitwarden/web
synced 2025-12-15 07:43:16 +00:00
set teams plan when business is checked
This commit is contained in:
@@ -48,6 +48,12 @@
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
$scope.changedBusiness = function () {
|
||||||
|
if ($scope.model.ownedBusiness) {
|
||||||
|
$scope.model.plan = 'teams'
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
$scope.submit = function (model) {
|
$scope.submit = function (model) {
|
||||||
var shareKey = cryptoService.makeShareKey();
|
var shareKey = cryptoService.makeShareKey();
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<section class="content-header">
|
`<section class="content-header">
|
||||||
<h1>Create Organization</h1>
|
<h1>Create Organization</h1>
|
||||||
</section>
|
</section>
|
||||||
<section class="content">
|
<section class="content">
|
||||||
@@ -36,7 +36,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="checkbox">
|
<div class="checkbox">
|
||||||
<label>
|
<label>
|
||||||
<input type="checkbox" ng-model="model.ownedBusiness"> This account is owned by a business.
|
<input type="checkbox" ng-model="model.ownedBusiness" ng-click="changedBusiness()">
|
||||||
|
This account is owned by a business.
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="row" ng-show="model.ownedBusiness">
|
<div class="row" ng-show="model.ownedBusiness">
|
||||||
|
|||||||
Reference in New Issue
Block a user