From e34ed9e7b74b7d9840fa2a3def8e14d3ae9f940e Mon Sep 17 00:00:00 2001 From: Dionysus Date: Fri, 27 Mar 2026 18:04:08 +0000 Subject: [PATCH] Update dashboard/templates/index.html --- dashboard/templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard/templates/index.html b/dashboard/templates/index.html index 608ac85..4ec286e 100644 --- a/dashboard/templates/index.html +++ b/dashboard/templates/index.html @@ -493,7 +493,7 @@ function connectWS(){ function handleMessage(msg){ switch(msg.type){ case 'servers': - servers=msg.servers; + servers=(msg.servers||[]).sort((a,b)=>a.hostname.localeCompare(b.hostname,undefined,{numeric:true})); updateServerSelect(); if(!selectedServer)renderFleet(); break;