From d36283a1c75f9c0a3f523440ac4873e60c18992b Mon Sep 17 00:00:00 2001 From: DrJKL Date: Tue, 7 Oct 2025 15:17:47 -0700 Subject: [PATCH] fix: Missing nodes caused the title editor to fail partway through (lack of title) h/t @marawan206 --- src/components/graph/TitleEditor.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/graph/TitleEditor.vue b/src/components/graph/TitleEditor.vue index e5505fac5a6..738d2c028d7 100644 --- a/src/components/graph/TitleEditor.vue +++ b/src/components/graph/TitleEditor.vue @@ -47,7 +47,7 @@ const canvasStore = useCanvasStore() const previousCanvasDraggable = ref(true) const onEdit = (newValue: string) => { - if (titleEditorStore.titleEditorTarget && newValue.trim() !== '') { + if (titleEditorStore.titleEditorTarget && newValue?.trim()) { const trimmedTitle = newValue.trim() titleEditorStore.titleEditorTarget.title = trimmedTitle