diff --git a/Client/src/app/components/balloon/balloon.component.ts b/Client/src/app/components/balloon/balloon.component.ts index 3cbe860..8740884 100644 --- a/Client/src/app/components/balloon/balloon.component.ts +++ b/Client/src/app/components/balloon/balloon.component.ts @@ -44,7 +44,10 @@ export class BalloonComponent implements OnInit { if (this.errorMessages.length > 0){ return; } const body = `Location of balloon: ${this.location}\n${this.body}`; - const email = this.email || ' '; + let email = this.email; + if (!email || email.length === 0) { + email = 'N/A'; + } this.submitButtonText = "Please Wait..."; this.submitButtonDisabled = true;