Skip to content

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

:rotating_light:

Vanessaf75fc9c54581
diff --git a/app/src/search/util.ts b/app/src/search/util.ts
index 20e94b4a09..13e80ea761 100644
--- a/app/src/search/util.ts
+++ b/app/src/search/util.ts
@@ -590,7 +590,7 @@ const addConfigMoreMenu = (config: ISearchOption, edit: Protyle, element: Elemen
config.sort = 4;
inputEvent(element, config, undefined, edit);
}
- }]
+ }];
if (config.group === 1) {
sortMenu.push({
label: window.siyuan.languages.context,
@@ -599,7 +599,7 @@ const addConfigMoreMenu = (config: ISearchOption, edit: Protyle, element: Elemen
config.sort = 5;
inputEvent(element, config, undefined, edit);
}
- })
+ });
}
window.siyuan.menus.menu.append(new MenuItem({
label: window.siyuan.languages.sort,