1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +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:
cyprain-okeke
2025-05-13 16:49:06 +01:00
committed by GitHub
parent 1f72dd7710
commit 5fb46df341
7 changed files with 30 additions and 17 deletions

View File

@@ -1621,18 +1621,6 @@ export class ApiService implements ApiServiceAbstraction {
return new OrganizationSponsorshipSyncStatusResponse(response);
}
async deleteRevokeSponsorship(sponsoringOrganizationId: string): Promise<void> {
return await this.send(
"DELETE",
"/organization/sponsorship/" +
(this.platformUtilsService.isSelfHost() ? "self-hosted/" : "") +
sponsoringOrganizationId,
null,
true,
false,
);
}
async deleteRemoveSponsorship(sponsoringOrgId: string): Promise<void> {
return await this.send(
"DELETE",