improvement: check if the ticket id is not empty in search (homepage)

This commit is contained in:
Francesco Esposito 2019-07-30 19:17:08 +02:00
parent c00ae269f1
commit e51251a1e0
1 changed files with 3 additions and 1 deletions

View File

@ -29,7 +29,9 @@ class SearchTicketCard extends Component {
handleSubmit(e) {
e.preventDefault();
if (!this.state.ticketId) return null;
this.setState({
submitted: true
});