luci-app-https-dns-proxy: bugfix: status/overview page include
authorStan Grishin <[email protected]>
Wed, 10 Apr 2024 21:37:58 +0000 (21:37 +0000)
committerStan Grishin <[email protected]>
Wed, 10 Apr 2024 21:53:05 +0000 (21:53 +0000)
commit4e871de58ad1713f206db2e08d578bd263904bc7
tree98f0702de630f0e8cdaf171f85bed01d46e28555
parentf7a715e700d561dffda294f11b4e5d784d08a1d3
luci-app-https-dns-proxy: bugfix: status/overview page include

This fix prevents iteration over empty/null array of instances (and the type error)
if there are no instances found.

Fixes https://github.com/openwrt/packages/issues/23868

Signed-off-by: Stan Grishin <[email protected]>
applications/luci-app-https-dns-proxy/Makefile
applications/luci-app-https-dns-proxy/htdocs/luci-static/resources/view/status/include/71_https-dns-proxy.js
applications/luci-app-https-dns-proxy/po/templates/https-dns-proxy.pot