luci-app-smartdns: Service redirect status is not displayed when smartdns is disabled
This commit is contained in:
@@ -84,6 +84,7 @@ function smartdnsRenderStatus(res) {
|
|||||||
renderHTML += "<b><font color=green>SmartDNS - " + _("RUNNING") + "</font></b></em>";
|
renderHTML += "<b><font color=green>SmartDNS - " + _("RUNNING") + "</font></b></em>";
|
||||||
} else {
|
} else {
|
||||||
renderHTML += "<b><font color=red>SmartDNS - " + _("NOT RUNNING") + "</font></b></em>";
|
renderHTML += "<b><font color=red>SmartDNS - " + _("NOT RUNNING") + "</font></b></em>";
|
||||||
|
return renderHTML;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (redirectMode === "dnsmasq-upstream") {
|
if (redirectMode === "dnsmasq-upstream") {
|
||||||
|
|||||||
Reference in New Issue
Block a user