We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d915792 commit f62175eCopy full SHA for f62175e
src/components/graph/TitleEditor.vue
@@ -47,7 +47,7 @@ const canvasStore = useCanvasStore()
47
const previousCanvasDraggable = ref(true)
48
49
const onEdit = (newValue: string) => {
50
- if (titleEditorStore.titleEditorTarget && newValue.trim() !== '') {
+ if (titleEditorStore.titleEditorTarget && newValue?.trim()) {
51
const trimmedTitle = newValue.trim()
52
titleEditorStore.titleEditorTarget.title = trimmedTitle
53
0 commit comments