Fix body undefined
continuous-integration/drone/push Build is passing Details

master
unknown 2024-03-28 21:20:48 -06:00
parent 9c98cb51ba
commit c851c8a070
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ export class BalloonComponent implements OnInit {
} }
if (this.errorMessages.length > 0){ return; } 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; let email = this.email;
if (!email || email.length === 0) { if (!email || email.length === 0) {
email = 'N/A'; email = 'N/A';