Skip to content

Commit

Permalink
fix dns edit modal
Browse files Browse the repository at this point in the history
  • Loading branch information
alireza0 committed Apr 20, 2024
1 parent ce9e710 commit 8ff75c6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion web/html/xui/dns_modal.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 8ff75c6

Please sign in to comment.