Skip to content

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

:memo:

Vanessa119fc6b3fa67
diff --git a/app/src/protyle/breadcrumb/index.ts b/app/src/protyle/breadcrumb/index.ts
index 8e1dc4516b..7dd2e168ca 100644
--- a/app/src/protyle/breadcrumb/index.ts
+++ b/app/src/protyle/breadcrumb/index.ts
@@ -255,7 +255,7 @@ export class Breadcrumb {
click() {
confirmDialog(window.siyuan.languages.share2Liandi, window.siyuan.languages.share2LiandiConfirmTip, () => {
fetchPost("/api/export/export2Liandi", {id: protyle.block.parentID});
- })
+ });
}
}).element);
}
diff --git a/app/src/search/util.ts b/app/src/search/util.ts
index 59a1e7b18f..f29936802c 100644
--- a/app/src/search/util.ts
+++ b/app/src/search/util.ts
@@ -704,7 +704,7 @@ const addConfigMoreMenu = async (config: ISearchOption, edit: Protyle, element:
}]
}).element);
const localData = window.siyuan.storage[Constants.LOCAL_SEARCHEKEYS];
- const isPopover = hasClosestByClassName(element, "b3-dialog__container")
+ const isPopover = hasClosestByClassName(element, "b3-dialog__container");
window.siyuan.menus.menu.append(new MenuItem({
label: window.siyuan.languages.layout,
type: "submenu",
@@ -773,9 +773,9 @@ const addConfigMoreMenu = async (config: ISearchOption, edit: Protyle, element:
saveDialog.destroy();
});
btnsElement[1].addEventListener("click", () => {
- const value = saveDialog.element.querySelector("input").value
+ const value = saveDialog.element.querySelector("input").value;
if (!value) {
- showMessage(window.siyuan.languages.value);
+ showMessage(window.siyuan.languages["_kernel"]["142"]);
return;
}
config.k = (element.querySelector("#searchInput") as HTMLInputElement).value;