Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/7041

Vanessa3b9ae96dbdc7
diff --git a/app/src/dialog/processSystem.ts b/app/src/dialog/processSystem.ts
index 3d7f320f6a..2426fe83d3 100644
--- a/app/src/dialog/processSystem.ts
+++ b/app/src/dialog/processSystem.ts
@@ -337,7 +337,7 @@ export const processSync = (data?: IWebSocketData) => {
iconElement.classList.add("toolbar__item--active");
useElement.setAttribute("xlink:href", "#iconCloudSync")
} else if (data.code === 2) { // error
- iconElement.classList.add("toolbar__item--active");
+ iconElement.classList.remove("toolbar__item--active");
useElement.setAttribute("xlink:href", "#iconCloudError")
} else if (data.code === 1) { // success
iconElement.classList.remove("toolbar__item--active");