From c9a402fa0a28adce4423b0371b1191923718bb89 Mon Sep 17 00:00:00 2001 From: findthelorax Date: Sun, 19 Apr 2026 23:58:09 -0400 Subject: [PATCH] fix: shows the proper parent node names once selected in the edit node modal --- frontend/src/components/modals/NodeModal.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/modals/NodeModal.tsx b/frontend/src/components/modals/NodeModal.tsx index cc3dd15..f820691 100644 --- a/frontend/src/components/modals/NodeModal.tsx +++ b/frontend/src/components/modals/NodeModal.tsx @@ -268,7 +268,11 @@ export function NodeModal({ open, onClose, onSubmit, initial, title = 'Add Node' onValueChange={(v) => set('parent_id', v === 'none' ? undefined : v)} > - + + {form.parent_id + ? (parentContainerNodes.find((n) => n.id === form.parent_id)?.label ?? 'None (standalone)') + : 'None (standalone)'} + None (standalone)