From cf8ec5a28673e3115576a0a0c0d07831a0204b2a Mon Sep 17 00:00:00 2001 From: CobriMediaJulien <56324041+CobriMediaJulien@users.noreply.github.com> Date: Sun, 8 Dec 2024 22:56:26 +0100 Subject: [PATCH] Update note_content_fulltext.ts --- src/services/search/expressions/note_content_fulltext.ts | 4 ---- 1 file changed, 4 deletions(-) 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) }