share: Render mind map

This commit is contained in:
Elian Doran
2024-09-01 22:41:48 +03:00
parent 1437df7de1
commit 5c2446be67
2 changed files with 3 additions and 1 deletions

View File

@@ -32,7 +32,7 @@ function getContent(note: SNote) {
renderCode(result);
} else if (note.type === 'mermaid') {
renderMermaid(result, note);
} else if (note.type === 'image' || note.type === 'canvas') {
} else if ([ "image", "canvas", "mindMap"].includes(note.type)) {
renderImage(result, note);
} else if (note.type === 'file') {
renderFile(note, result);