diff --git a/src/services/handlers.ts b/src/services/handlers.ts index a5580c5b1..19d77fe9c 100644 --- a/src/services/handlers.ts +++ b/src/services/handlers.ts @@ -102,7 +102,7 @@ eventService.subscribe(eventService.ENTITY_CREATED, ({ entityName, entity }) => const content = note.getContent(); if ( - ["text", "code", "mermaid", "canvas"].includes(note.type) && + ["text", "code", "mermaid", "canvas", "relationMap"].includes(note.type) && typeof content === "string" && // if the note has already content we're not going to overwrite it with template's one (!content || content.trim().length === 0) &&