diff --git a/src/services/search/expressions/note_content_fulltext.ts b/src/services/search/expressions/note_content_fulltext.ts index 546191a3c..11a8c09f3 100644 --- a/src/services/search/expressions/note_content_fulltext.ts +++ b/src/services/search/expressions/note_content_fulltext.ts @@ -134,11 +134,8 @@ class NoteContentFulltextExp extends Expression { content = content.replace(/ /g, ' '); } else if (type === 'mindMap' && mime === 'application/json') { - console.log("mindMap", content); let mindMapcontent = JSON.parse (content); - console.log("mindMap", mindMapcontent); let topic = mindMapcontent.nodedata.topic; - console.log("topic22", topic); content = utils.normalize(topic.toString()); } else if (type === 'canvas' && mime === 'application/json') { @@ -154,7 +151,6 @@ class NoteContentFulltextExp extends Expression { const texts = elements .filter((element: Element) => element.type === 'text' && element.text) // Filter for 'text' type elements with a 'text' property .map((element: Element) => element.text!); // Use `!` to assert `text` is defined after filtering - console.log(texts) }