1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 10:13:31 +00:00

rename to reinstate

This commit is contained in:
Kyle Spearrin
2017-04-10 18:31:01 -04:00
parent 80ca89b3f6
commit 58df3e692b
3 changed files with 17 additions and 9 deletions

View File

@@ -59,12 +59,12 @@
});
};
$scope.uncancel = function () {
if (!confirm('Are you sure you want to remove the cancellation request?')) {
$scope.reinstate = function () {
if (!confirm('Are you sure you want to remove the cancellation request and reinstate this organization?')) {
return;
}
apiService.organizations.putUncancel({ id: $state.params.orgId }, {})
apiService.organizations.putReinstate({ id: $state.params.orgId }, {})
.$promise.then(function (response) {
toastr.success('Organization cancellation request has been removed.');
load();