From 8ff75c626ee37de71fa03f49c7664e6585db38ca Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Sat, 20 Apr 2024 13:10:44 +0200 Subject: [PATCH] fix dns edit modal --- web/html/xui/dns_modal.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/web/html/xui/dns_modal.html b/web/html/xui/dns_modal.html index 3035e9e1..e1f52b35 100644 --- a/web/html/xui/dns_modal.html +++ b/web/html/xui/dns_modal.html @@ -53,7 +53,11 @@ if (typeof dnsServer == 'object'){ this.dnsServer = dnsServer; } else { - this.dnsServer.address = dnsServer?? ''; + this.dnsServer = { + address: dnsServer?? "", + domains: [], + queryStrategy: 'UseIP', + } } } else { this.dnsServer = {