Skip to content

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

:art: Hide the separator line in the top bar plugin menu in publish service (#15809)

Jeffrey Chen517f5c845377
diff --git a/app/src/plugin/openTopBarMenu.ts b/app/src/plugin/openTopBarMenu.ts
index af03a6cc71..925469c922 100644
--- a/app/src/plugin/openTopBarMenu.ts
+++ b/app/src/plugin/openTopBarMenu.ts
@@ -18,7 +18,7 @@ export const openTopBarMenu = (app: App, target?: Element) => {
openSetting(app).element.querySelector('.b3-tab-bar [data-name="bazaar"]').dispatchEvent(new CustomEvent("click"));
}
});
- menu.addSeparator({id: "separator_1"}, isHuawei() || window.siyuan.config.readonly);
+ menu.addSeparator({id: "separator_1", ignore: isHuawei() || window.siyuan.config.readonly});
/// #endif
let hasPlugin = false;
app.plugins.forEach((plugin) => {