Skip to content

Build your personal knowledge base with Trilium Notes

server: Fix import of mind map notes

Elian Doran94c5fba66f58
diff --git a/src/becca/entities/rows.ts b/src/becca/entities/rows.ts
index 6c46bf3013..a656365c67 100644
--- a/src/becca/entities/rows.ts
+++ b/src/becca/entities/rows.ts
@@ -91,7 +91,7 @@ export interface BranchRow {
* end user. Those types should be used only for checking against, they are
* not for direct use.
*/
-export const ALLOWED_NOTE_TYPES = [ "file", "image", "search", "noteMap", "launcher", "doc", "contentWidget", "text", "relationMap", "render", "canvas", "mermaid", "book", "webView", "code" ] as const;
+export const ALLOWED_NOTE_TYPES = [ "file", "image", "search", "noteMap", "launcher", "doc", "contentWidget", "text", "relationMap", "render", "canvas", "mermaid", "book", "webView", "code", "mindMap" ] as const;
export type NoteType = typeof ALLOWED_NOTE_TYPES[number];
export interface NoteRow {