From d5369eaaad916cf08de45c1169c2b9bd4f7fc43c Mon Sep 17 00:00:00 2001 From: unknown <34411636+Dandevmt@users.noreply.github.com> Date: Thu, 28 Mar 2024 21:32:43 -0600 Subject: [PATCH] Remove undefined for not entered phone --- Client/src/app/components/balloon/balloon.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client/src/app/components/balloon/balloon.component.ts b/Client/src/app/components/balloon/balloon.component.ts index fae5ba5..af314f9 100644 --- a/Client/src/app/components/balloon/balloon.component.ts +++ b/Client/src/app/components/balloon/balloon.component.ts @@ -53,7 +53,7 @@ export class BalloonComponent implements OnInit { this.submitButtonDisabled = true; this.emailService.sendEmail(this.name, email, - this.phone, + this.phone || '', body, this.hp) .subscribe(