luci-app-ddns: fix wrong service with custom selected 4380/head
authorAnsuel Smith <ansuelsmth@gmail.com>
Sat, 22 Aug 2020 17:58:28 +0000 (19:58 +0200)
committerAnsuel Smith <ansuelsmth@gmail.com>
Sat, 22 Aug 2020 17:58:28 +0000 (19:58 +0200)
commit8aac2a339aca4efec9ef5ac4b325eda2e55ea10d
tree486e254af355a068e68431b4d64da0bd435e5b8f
parent88b9d58a44ea52e812cf0c0db5b5b6b87783bd7e
luci-app-ddns: fix wrong service with custom selected

If custom service is selected, no service is actually set in the uci config.
Fallback to custom service if no service is detected in the config.

Fixes #4301

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js