Skip to content

Commit 517f5c8

Browse files
authored
🎨 Hide the separator line in the top bar plugin menu in publish service (#15809)
1 parent 8843127 commit 517f5c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/plugin/openTopBarMenu.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const openTopBarMenu = (app: App, target?: Element) => {
1818
openSetting(app).element.querySelector('.b3-tab-bar [data-name="bazaar"]').dispatchEvent(new CustomEvent("click"));
1919
}
2020
});
21-
menu.addSeparator({id: "separator_1"}, isHuawei() || window.siyuan.config.readonly);
21+
menu.addSeparator({id: "separator_1", ignore: isHuawei() || window.siyuan.config.readonly});
2222
/// #endif
2323
let hasPlugin = false;
2424
app.plugins.forEach((plugin) => {

0 commit comments

Comments
 (0)