From: Paul Donald Date: Mon, 25 May 2026 22:40:23 +0000 (+0300) Subject: luci-app-frpc: correctness fixes X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=a4166b1e88147850aae6030e04465d94f5e0f253;p=openwrt-luci.git luci-app-frpc: correctness fixes Signed-off-by: Paul Donald --- diff --git a/applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js b/applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js index 218e04cd74..0ec1037ea4 100644 --- a/applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js +++ b/applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js @@ -104,7 +104,7 @@ function setParams(o, params) { const d = {}; for (let vkey in v) d[vkey] = v[vkey]; - for (let od of o.deps) { + for (let od of (o.deps || [])) { for (let dkey in od) { d[dkey] = od[dkey]; }