From a166634db867680586f180741ac8562738b07cdc Mon Sep 17 00:00:00 2001 From: Martin Berka Date: Thu, 14 May 2026 10:12:14 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20oprava=20zobrazen=C3=AD=20cen=20v=20na?= =?UTF-8?q?=C5=A1ept=C3=A1va=C4=8Di=20Pizza=20Chefie?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/App.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/App.tsx b/client/src/App.tsx index bd7573d..ec14769 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -453,7 +453,7 @@ function App() { data.pizzaList?.forEach((pizza, index) => { const group: SelectSearchOption = { name: pizza.name, type: "group", items: [] } pizza.sizes.forEach((size, sizeIndex) => { - const name = `${size.size} (${size.price} Kč)`; + const name = `${size.size} (${size.price / 100} Kč)`; const value = `pizza|${index}|${sizeIndex}`; group.items?.push({ name, value }); }) @@ -462,7 +462,7 @@ function App() { if (data.salatList?.length) { const salatGroup: SelectSearchOption = { name: "Saláty", type: "group", items: [] } data.salatList.forEach((salat, index) => { - salatGroup.items?.push({ name: `${salat.name} (${salat.price} Kč)`, value: `salat|${index}` }); + salatGroup.items?.push({ name: `${salat.name} (${salat.price / 100} Kč)`, value: `salat|${index}` }); }); suggestions.push(salatGroup); }