This commit is contained in:
Vanessa 2022-08-22 00:11:32 +08:00
parent b313ee93ad
commit b61dfc2a7f
3 changed files with 11 additions and 2 deletions

View file

@ -372,6 +372,7 @@ ${accountHTML}
confirmDialog(window.siyuan.languages.remove, "", () => {
fetchPost("/api/repo/resetRepo", {}, () => {
window.siyuan.config.repo.key = "";
window.siyuan.config.sync.enabled = false;
importKeyElement.parentElement.classList.remove("fn__none");
importKeyElement.parentElement.nextElementSibling.classList.add("fn__none");
});