diff --git a/frontend/src/sections/overview/overview-latest-orders.js b/frontend/src/sections/overview/overview-latest-orders.js index 27229ea..f16c235 100644 --- a/frontend/src/sections/overview/overview-latest-orders.js +++ b/frontend/src/sections/overview/overview-latest-orders.js @@ -100,7 +100,12 @@ export const OverviewLatestOrders = (props) => { router.push("devices/"+order.SN)} + onClick={()=>{ + if (order.Status !== 2){ + router.push("devices/"+order.SN) + } + } + } >