An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: Avoid empty view when switching mobile tabs after document deletion https://github.com/siyuan-note/siyuan/issues/19332
Daniel6287e7d95be8
diff --git a/app/src/protyle/index.ts b/app/src/protyle/index.tsindex 812327c030..aa626b4341 100644--- a/app/src/protyle/index.ts+++ b/app/src/protyle/index.ts@@ -392,7 +392,8 @@ export class Protyle {case "removeBox":if (this.protyle.notebookId === data.data.box) {/// #if MOBILE- if (!removeMobileSecondaryEditor(this)) {+ // 主编辑器由页签管理切换文档,避免切换前显示空白主页+ if (!removeMobileSecondaryEditor(this) && !window.siyuan.mobile.tabs) {setEmpty(app);}/// #else@@ -405,7 +406,8 @@ export class Protyle {case "removeDoc":if (data.data.ids.includes(this.protyle.block.rootID)) {/// #if MOBILE- if (!removeMobileSecondaryEditor(this)) {+ // 主编辑器由页签管理切换文档,避免切换前显示空白主页+ if (!removeMobileSecondaryEditor(this) && !window.siyuan.mobile.tabs) {setEmpty(app);}/// #else