From bcd173bdfb1e72f73311fb05352b4dd32f7f054c Mon Sep 17 00:00:00 2001 From: Jovan Cvetkovic Date: Thu, 22 Jun 2023 11:53:45 +0200 Subject: [PATCH] Code review #573 Signed-off-by: Jovan Cvetkovic --- .../components/AssociateMonitors/AssociateMonitors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/pages/CreateMonitor/components/AssociateMonitors/AssociateMonitors.js b/public/pages/CreateMonitor/components/AssociateMonitors/AssociateMonitors.js index e25f17c12..56b3b8df3 100644 --- a/public/pages/CreateMonitor/components/AssociateMonitors/AssociateMonitors.js +++ b/public/pages/CreateMonitor/components/AssociateMonitors/AssociateMonitors.js @@ -34,7 +34,7 @@ const AssociateMonitors = ({ useEffect(() => { if (monitors?.length) { const value = { ...queryTemplate }; - monitors.map((monitor, idx) => { + monitors.forEach((monitor, idx) => { let delegate = { order: idx + 1, monitor_id: monitor.monitor_id,