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); }