From b258c1ada0c4825b6905c88617c6ae980bbc87c6 Mon Sep 17 00:00:00 2001 From: leandrofars Date: Wed, 24 Apr 2024 15:10:03 -0300 Subject: [PATCH] fix(frontend): block access to cwmp or offline device --- frontend/src/sections/overview/overview-latest-orders.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/src/sections/overview/overview-latest-orders.js b/frontend/src/sections/overview/overview-latest-orders.js index 6f85c03..8b36dca 100644 --- a/frontend/src/sections/overview/overview-latest-orders.js +++ b/frontend/src/sections/overview/overview-latest-orders.js @@ -97,13 +97,11 @@ export const OverviewLatestOrders = (props) => { - { order.Status == 2 && (order.Mqtt == 0 && order.Websockets == 0 && order.Stomp == 0) ? : : { - if (order.Status == 2){ router.push("devices/"+order.SN+"/discovery") - } } } >