Code debug

This commit is contained in:
David Duque 2020-04-15 15:02:20 +01:00
parent bb26a2d12c
commit 21196620b6
No known key found for this signature in database
GPG Key ID: 2F327738A3C0AE3A
1 changed files with 2 additions and 1 deletions

View File

@ -93,7 +93,7 @@
relay_host.disabled = !relay_enabled
relay_use_auth.disabled = !relay_enabled
relay_auth_auth.disabled = !(relay_enabled && auth_enabled)
relay_auth_user.disabled = !(relay_enabled && auth_enabled)
relay_auth_pass.disabled = !(relay_enabled && auth_enabled)
}
@ -102,6 +102,7 @@
"GET",
{},
data => {
console.log("Hi!")
use_relay.checked = data.enabled
relay_host.value = data.host
relay_use_auth.checked = data.auth_enabled