From c851c8a0706480200cae46ad778f4247c14e87ee Mon Sep 17 00:00:00 2001 From: unknown <34411636+Dandevmt@users.noreply.github.com> Date: Thu, 28 Mar 2024 21:20:48 -0600 Subject: [PATCH] Fix body undefined --- 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 39b5223..461bbe5 100644 --- a/Client/src/app/components/balloon/balloon.component.ts +++ b/Client/src/app/components/balloon/balloon.component.ts @@ -43,7 +43,7 @@ export class BalloonComponent implements OnInit { } if (this.errorMessages.length > 0){ return; } - const body = `Location of balloon: ${this.location}\n${this.body}`; + const body = `Location of balloon: ${this.location}\n${this.body || ''}`; let email = this.email; if (!email || email.length === 0) { email = 'N/A';