From 508a63a60d3b674b5a8f4e4f9a17fb0e07389ce8 Mon Sep 17 00:00:00 2001 From: KoalaSat Date: Sun, 15 Oct 2023 23:50:44 +0200 Subject: [PATCH] Bug fix --- frontend/src/components/Map/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/Map/index.tsx b/frontend/src/components/Map/index.tsx index 8dfd624e..de977699 100644 --- a/frontend/src/components/Map/index.tsx +++ b/frontend/src/components/Map/index.tsx @@ -97,7 +97,7 @@ const Map = ({ const getOrderMarkers = () => { return orders.map((order) => { if (!order.latitude || !order.longitude) return <>; - return RobotMarker('marker', [order.latitude, order.longitude], orderType || 0, order); + return RobotMarker(order.id, [order.latitude, order.longitude], order.type || 0, order); }); };