From 3d61b7e1a7c04d01bd5378c8096818028b0aae0a Mon Sep 17 00:00:00 2001 From: Davide Passoni Date: Wed, 26 Mar 2025 10:33:11 +0100 Subject: [PATCH] Fix: aligned airbase spawn menu to other menus --- frontend/react/src/ui/panels/airbasemenu.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/react/src/ui/panels/airbasemenu.tsx b/frontend/react/src/ui/panels/airbasemenu.tsx index 5637a7fa..bfbcbfd4 100644 --- a/frontend/react/src/ui/panels/airbasemenu.tsx +++ b/frontend/react/src/ui/panels/airbasemenu.tsx @@ -72,6 +72,8 @@ export function AirbaseMenu(props: { open: boolean; onClose: () => void; childre }); } + filteredBlueprints.sort((a, b) => a.label.localeCompare(b.label)); + return (
void; childre return ( setBlueprint(blueprint)} showCost={showCost} @@ -258,7 +260,7 @@ export function AirbaseMenu(props: { open: boolean; onClose: () => void; childre return ( setBlueprint(blueprint)} showCost={showCost}