fix: show edge type label in select trigger after selection

This commit is contained in:
Pouzor
2026-04-24 10:35:19 +02:00
committed by Remy
parent 31b61904ac
commit 84235d81bf
+1 -1
View File
@@ -69,7 +69,7 @@ export function EdgeModal({ open, onClose, onSubmit, onDelete, onClearWaypoints,
<Label className="text-xs text-muted-foreground">Link Type</Label>
<Select value={type} onValueChange={(v) => setType(v as EdgeType)}>
<SelectTrigger className="bg-[#21262d] border-[#30363d] text-sm h-8">
<SelectValue />
<SelectValue>{EDGE_TYPE_LABELS[type]}</SelectValue>
</SelectTrigger>
<SelectContent className="bg-[#21262d] border-[#30363d]">
{EDGE_TYPES.map(([value, label]) => (