Skip to content

Commit

Permalink
♻️ #4567
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Jan 5, 2023
1 parent 43cc09a commit 6525748
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/src/mobile/util/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,9 @@ ${accountHTML}
} else if (target.getAttribute("data-type") === "remove") {
const p = target.parentElement.getAttribute("data-path");
confirmDialog("⚠️ " + window.siyuan.languages.remove + " " + pathPosix().basename(p), window.siyuan.languages.removeWorkspaceTip, () => {
fetchPost("/api/system/removeWorkspaceDir", {path: p});
fetchPost("/api/system/removeWorkspaceDir", {path: p}, () => {
genWorkspace(workspaceDirElement);
});
});
event.preventDefault();
event.stopPropagation();
Expand Down

0 comments on commit 6525748

Please sign in to comment.