This commit is contained in:
Martin Quarda 2024-10-14 14:53:53 +02:00
parent b2d3c7c658
commit be6f57cf8b

View File

@ -205,7 +205,7 @@ class Main extends Component {
})
}else{
this.setState({
cart: [...this.state.cart, {"name": "Doprava na " + point.name, "id": 2, "price": delivery_cost, "locked": true}],
cart: [...this.state.cart, {"name": "Doprava na " + point.name, "id": 2, "price": delivery_cost, "locked": true, "quantity": 1}],
delivery: point.name,
status_text: json.reason,
status: "success",