From bf005cd6521ff8eb27c4bc8b3d3996f1bb6c5e8c Mon Sep 17 00:00:00 2001 From: acidvegas Date: Fri, 27 Mar 2026 14:01:39 -0400 Subject: [PATCH] abc order of nodes in overview and dropdown --- 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;