diff --git a/frontend/src/scripts/index.js b/frontend/src/scripts/index.js index 5aec667..0ee6a22 100644 --- a/frontend/src/scripts/index.js +++ b/frontend/src/scripts/index.js @@ -261,7 +261,7 @@ class Main extends Component { } - {Object.keys(this.state.login_status).length > 0 && + {Object.keys(this.state.login_status).length > 0 && this.state.products.length > 0 && @@ -298,7 +298,10 @@ class Main extends Component { {this.state.cart.map(product => {product.name} - {product.quantity} + + + {product.quantity} + {product.price} Kč )}