mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-23 23:44:06 +01:00
This commit is contained in:
parent
b313ee93ad
commit
b61dfc2a7f
3 changed files with 11 additions and 2 deletions
|
|
@ -299,6 +299,7 @@ export const about = {
|
|||
confirmDialog("⚠️ " + window.siyuan.languages.resetRepo, window.siyuan.languages.resetRepoTip, () => {
|
||||
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");
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue