mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 17:23:37 +00:00
delete organization
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
angular
|
||||
.module('bit.organization')
|
||||
|
||||
.controller('organizationSettingsController', function ($scope, $state, apiService, toastr, authService) {
|
||||
.controller('organizationSettingsController', function ($scope, $state, apiService, toastr, authService, $uibModal) {
|
||||
$scope.model = {};
|
||||
$scope.$on('$viewContentLoaded', function () {
|
||||
apiService.organizations.get({ id: $state.params.orgId }, function (org) {
|
||||
@@ -20,4 +20,12 @@
|
||||
});
|
||||
}).$promise;
|
||||
};
|
||||
|
||||
$scope.delete = function () {
|
||||
$uibModal.open({
|
||||
animation: true,
|
||||
templateUrl: 'app/organization/views/organizationDelete.html',
|
||||
controller: 'organizationDeleteController'
|
||||
});
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user