Don't require email for balloon
continuous-integration/drone/push Build is passing Details

master
unknown 2024-03-28 21:09:42 -06:00
parent ad9ec5e7c6
commit e66a014572
1 changed files with 4 additions and 1 deletions

View File

@ -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;