mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-07-27 20:00:51 +03:00
Fix doubled tags on reload
This commit is contained in:
parent
24a0a9f5ee
commit
b268efc5a6
2 changed files with 2 additions and 0 deletions
|
@ -165,6 +165,7 @@ Wireguard Server Settings
|
|||
|
||||
// Load server addresses to the form
|
||||
{{range .serverInterface.Addresses}}
|
||||
$("#addresses").removeTag('{{.}}');
|
||||
$("#addresses").addTag('{{.}}');
|
||||
{{end}}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue