mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 13:53:34 +00:00
[PM 21106]Remove button not responsive for admin Console Remove Sponorship (#14743)
* Resolve the remove button inactive * Resolve the lint error
This commit is contained in:
@@ -179,7 +179,7 @@ export class FreeBitwardenFamiliesComponent implements OnInit {
|
||||
return;
|
||||
}
|
||||
|
||||
await this.apiService.deleteRevokeSponsorship(this.organizationId);
|
||||
await this.organizationSponsorshipApiService.deleteRevokeSponsorship(this.organizationId, true);
|
||||
|
||||
this.toastService.showToast({
|
||||
variant: "success",
|
||||
|
||||
@@ -109,7 +109,7 @@ export class SponsoringOrgRowComponent implements OnInit {
|
||||
return;
|
||||
}
|
||||
|
||||
await this.apiService.deleteRevokeSponsorship(this.sponsoringOrg.id);
|
||||
await this.organizationSponsorshipApiService.deleteRevokeSponsorship(this.sponsoringOrg.id);
|
||||
this.toastService.showToast({
|
||||
variant: "success",
|
||||
title: null,
|
||||
|
||||
Reference in New Issue
Block a user