Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:rotating_light:

Vanessa2e26a74d1261
diff --git a/app/src/search/util.ts b/app/src/search/util.ts
index d4dd5e50ad..53b45d8bd9 100644
--- a/app/src/search/util.ts
+++ b/app/src/search/util.ts
@@ -1023,7 +1023,7 @@ const renderNextSearchMark = (options: {
options.edit.protyle.highlight.ranges.forEach((item, index) => {
if (options.edit.protyle.highlight.rangeIndex === index) {
options.edit.protyle.highlight.markHL.add(item);
- currentRange = item
+ currentRange = item;
} else {
options.edit.protyle.highlight.mark.add(item);
}
@@ -1115,7 +1115,7 @@ export const getArticle = (options: {
} else {
highlightById(options.edit.protyle, options.id);
}
- }
+ };
highlightKeys();
const observer = new ResizeObserver(() => {
highlightKeys();