mirror of
https://github.com/franjsco/tick3t
synced 2024-12-27 09:53:37 +01:00
improvement: check if the ticket id is not empty in search (homepage)
This commit is contained in:
parent
c00ae269f1
commit
e51251a1e0
@ -29,7 +29,9 @@ class SearchTicketCard extends Component {
|
||||
|
||||
handleSubmit(e) {
|
||||
e.preventDefault();
|
||||
|
||||
|
||||
if (!this.state.ticketId) return null;
|
||||
|
||||
this.setState({
|
||||
submitted: true
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user