mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Fix: aligned airbase spawn menu to other menus
This commit is contained in:
parent
7ae15239b1
commit
3d61b7e1a7
@ -72,6 +72,8 @@ export function AirbaseMenu(props: { open: boolean; onClose: () => void; childre
|
||||
});
|
||||
}
|
||||
|
||||
filteredBlueprints.sort((a, b) => a.label.localeCompare(b.label));
|
||||
|
||||
return (
|
||||
<Menu title={airbase?.getName() ?? "No airbase selected"} open={props.open} onClose={props.onClose} showBackButton={false}>
|
||||
<div
|
||||
@ -204,7 +206,7 @@ export function AirbaseMenu(props: { open: boolean; onClose: () => void; childre
|
||||
return (
|
||||
<OlUnitListEntry
|
||||
key={blueprint.name}
|
||||
icon={olButtonsVisibilityAircraft}
|
||||
silhouette={blueprint.filename}
|
||||
blueprint={blueprint}
|
||||
onClick={() => setBlueprint(blueprint)}
|
||||
showCost={showCost}
|
||||
@ -258,7 +260,7 @@ export function AirbaseMenu(props: { open: boolean; onClose: () => void; childre
|
||||
return (
|
||||
<OlUnitListEntry
|
||||
key={blueprint.name}
|
||||
icon={olButtonsVisibilityHelicopter}
|
||||
silhouette={blueprint.filename}
|
||||
blueprint={blueprint}
|
||||
onClick={() => setBlueprint(blueprint)}
|
||||
showCost={showCost}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user