diff --git a/src_assets/common/assets/web/troubleshooting.html b/src_assets/common/assets/web/troubleshooting.html index 703a7c48b79..eb6de5df45d 100644 --- a/src_assets/common/assets/web/troubleshooting.html +++ b/src_assets/common/assets/web/troubleshooting.html @@ -211,7 +211,9 @@

{{ $t('troubleshooting.logs') }}

.then((response) => { const clientList = document.querySelector("#client-list"); if (response.status === 'true' && response.named_certs && response.named_certs.length) { - this.clients = response.named_certs; + this.clients = response.named_certs.sort((a, b) => { + return (a.name.toLowerCase() > b.name.toLowerCase() || a.name == "" ? 1 : -1) + }); } else { this.clients = []; }