Skip to content

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

:art:

Vanessa0f64f9573398
diff --git a/app/src/boot/globalEvent/mousemove.ts b/app/src/boot/globalEvent/mousemove.ts
index 47da312069..ae315efabc 100644
--- a/app/src/boot/globalEvent/mousemove.ts
+++ b/app/src/boot/globalEvent/mousemove.ts
@@ -38,7 +38,7 @@ export const windowMouseMove = (event: MouseEvent & { target: HTMLElement }, mou
if (window.siyuan.hideBreadcrumb) {
window.siyuan.hideBreadcrumb = false;
getAllEditor().forEach(item => {
- if (item.protyle.breadcrumb.element.classList.contains("protyle-breadcrumb__bar--hide")) {
+ if (item.protyle.breadcrumb?.element.classList.contains("protyle-breadcrumb__bar--hide")) {
item.protyle.breadcrumb.element.classList.remove("protyle-breadcrumb__bar--hide");
item.protyle.breadcrumb.render(item.protyle, true);
}