Skip to content

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

:rotating_light:

Vanessaaab48e9c8a37
diff --git a/app/src/protyle/breadcrumb/index.ts b/app/src/protyle/breadcrumb/index.ts
index e6f3498f82..1af6b3fb18 100644
--- a/app/src/protyle/breadcrumb/index.ts
+++ b/app/src/protyle/breadcrumb/index.ts
@@ -389,7 +389,7 @@ export class Breadcrumb {
return;
}
this.id = id;
- const excludeTypes: string[] = []
+ const excludeTypes: string[] = [];
if (this.element.parentElement?.parentElement && this.element.parentElement.parentElement.classList.contains("b3-dialog__cardblock")) {
// 闪卡面包屑不能显示答案
excludeTypes.push("NodeTextMark-mark");
diff --git a/app/src/search/util.ts b/app/src/search/util.ts
index 479b0084dd..a0b69ebed4 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 = JSON.parse(localStorage.getItem(Constants.LOCAL_SEARCHEKEYS) || "{}")
+ const localData = JSON.parse(localStorage.getItem(Constants.LOCAL_SEARCHEKEYS) || "{}");
if (typeof localData.layout === "undefined") {
localData.layout = 0;
}