From c798e1f10d365d584eb75fda40fc93a8115e10ad Mon Sep 17 00:00:00 2001 From: cyprain-okeke <108260115+cyprain-okeke@users.noreply.github.com> Date: Fri, 18 Apr 2025 21:21:01 +0100 Subject: [PATCH] [PM-18250]Do not default account credit amount (#13719) * Set the default value to zero * Remove the 20 dollar for org --- .../web/src/app/billing/shared/add-credit-dialog.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/src/app/billing/shared/add-credit-dialog.component.ts b/apps/web/src/app/billing/shared/add-credit-dialog.component.ts index bfe811f1aa7..45dab542ce8 100644 --- a/apps/web/src/app/billing/shared/add-credit-dialog.component.ts +++ b/apps/web/src/app/billing/shared/add-credit-dialog.component.ts @@ -76,7 +76,7 @@ export class AddCreditDialogComponent implements OnInit { async ngOnInit() { if (this.organizationId != null) { if (this.creditAmount == null) { - this.creditAmount = "20.00"; + this.creditAmount = "0.00"; } this.ppButtonCustomField = "organization_id:" + this.organizationId; const userId = await firstValueFrom( @@ -93,7 +93,7 @@ export class AddCreditDialogComponent implements OnInit { } } else { if (this.creditAmount == null) { - this.creditAmount = "10.00"; + this.creditAmount = "0.00"; } const [userId, email] = await firstValueFrom( this.accountService.activeAccount$.pipe(map((a) => [a?.id, a?.email])),