Don't require message
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
96d7270332
commit
ad9ec5e7c6
|
|
@ -41,9 +41,6 @@ export class BalloonComponent implements OnInit {
|
||||||
if (this.location == null || this.location == ""){
|
if (this.location == null || this.location == ""){
|
||||||
this.errorMessages.push("Please enter a city and state");
|
this.errorMessages.push("Please enter a city and state");
|
||||||
}
|
}
|
||||||
if (this.body == null || this.body == ""){
|
|
||||||
this.errorMessages.push("Please enter a message");
|
|
||||||
}
|
|
||||||
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}`;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue