From 9e084428d9520bbc1e2a973cfc57c26af05ae556 Mon Sep 17 00:00:00 2001 From: Martin Quarda Date: Mon, 14 Oct 2024 08:35:34 +0200 Subject: [PATCH] + button --- frontend/src/scripts/index.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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č )}