fix(frontend): get device management protocol

This commit is contained in:
leandrofars 2024-10-30 10:01:31 -03:00
parent 51bc89dfb7
commit a43e62c96b

View File

@ -172,7 +172,8 @@ const Page = () => {
} }
const getDeviceProtocol = (order) => { const getDeviceProtocol = (order) => {
if (order.Cwmp != null) { console.log("order:", order)
if (order.Cwmp == 2) {
return "cwmp" return "cwmp"
} else { } else {
return "usp" return "usp"