mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 17:40:13 +01:00
📝
This commit is contained in:
parent
d32d5ac06a
commit
a97fee5903
1 changed files with 1 additions and 1 deletions
|
|
@ -369,7 +369,7 @@ ${accountHTML}
|
||||||
writeText(window.siyuan.config.repo.key);
|
writeText(window.siyuan.config.repo.key);
|
||||||
});
|
});
|
||||||
modelMainElement.querySelector("#removeKey").addEventListener("click", () => {
|
modelMainElement.querySelector("#removeKey").addEventListener("click", () => {
|
||||||
confirmDialog(window.siyuan.languages.remove, "", () => {
|
confirmDialog("⚠️ " + window.siyuan.languages.resetRepo, window.siyuan.languages.resetRepoTip, () => {
|
||||||
fetchPost("/api/repo/resetRepo", {}, () => {
|
fetchPost("/api/repo/resetRepo", {}, () => {
|
||||||
window.siyuan.config.repo.key = "";
|
window.siyuan.config.repo.key = "";
|
||||||
window.siyuan.config.sync.enabled = false;
|
window.siyuan.config.sync.enabled = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue