mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-04 15:58:49 +01:00
This commit is contained in:
parent
e2fe854777
commit
688dfa50f1
1 changed files with 2 additions and 2 deletions
|
|
@ -22,9 +22,9 @@ export const workspaceMenu = (rect: DOMRect) => {
|
|||
window.siyuan.menus.menu.remove();
|
||||
return;
|
||||
}
|
||||
window.siyuan.menus.menu.remove();
|
||||
window.siyuan.menus.menu.element.setAttribute("data-name", "barWorkspace");
|
||||
fetchPost("/api/system/getWorkspaces", {}, (response) => {
|
||||
window.siyuan.menus.menu.remove();
|
||||
window.siyuan.menus.menu.element.setAttribute("data-name", "barWorkspace");
|
||||
if (!window.siyuan.config.readonly) {
|
||||
window.siyuan.menus.menu.append(new MenuItem({
|
||||
label: window.siyuan.languages.config,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue