Client search

Returned client search field, added functionality for it to work.
This commit is contained in:
Arminas 2023-01-16 18:37:58 +02:00 committed by GitHub
parent 34415d1944
commit aef26979f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -422,7 +422,7 @@ Wireguard Clients
cache: false, cache: false,
method: 'GET', method: 'GET',
url: '{{.basePath}}/api/client/' + client_id, url: '{{.basePath}}/api/client/' + client_id,
data: { data: {
qrCodeIncludeFwMark: include_fwmark qrCodeIncludeFwMark: include_fwmark
}, },
dataType: 'json', dataType: 'json',
@ -610,7 +610,7 @@ Wireguard Clients
$(element).removeClass('is-invalid'); $(element).removeClass('is-invalid');
} }
}); });
// //
}); });
</script> </script>
{{end}} {{end}}