diff --git a/astro/src/components/KiosMap.tsx b/astro/src/components/KiosMap.tsx
index 6b9b228..bdfc532 100644
--- a/astro/src/components/KiosMap.tsx
+++ b/astro/src/components/KiosMap.tsx
@@ -233,7 +233,7 @@ export const KiosMap = () => {
setSelectedNode({ id: nodeId, type: typeParam })
console.log("set id:", nodeId)
}
-
+
//params: dispatch: Dispatch, courier: User
const handleAcceptRoute = () => {
@@ -270,7 +270,7 @@ export const KiosMap = () => {
{
selectedNode.type !== 'none' && (
-
+
{selectedMaker !== undefined && (
@@ -297,21 +297,25 @@ export const KiosMap = () => {
return (
{product.picture.url &&
-
- }
-
+
+ }
+
- {product.name}
+ {product.name}
-
@@ -337,9 +341,28 @@ export const KiosMap = () => {
>
)}
- //Todo: Display products
{selectedDispatch !== undefined && (
-
+
+
+
+ Product{selectedDispatch.products.length > 1 && 's'}
+
+ {selectedDispatch.products.map((product, i) => {
+ return (
+
+
+
{product.name}
+
+ )
+ })}
+
+
+