Skip to content

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

:art:

Vanessaac1393247172
diff --git a/app/src/dialog/processSystem.ts b/app/src/dialog/processSystem.ts
index 765093b160..8b00f8e28f 100644
--- a/app/src/dialog/processSystem.ts
+++ b/app/src/dialog/processSystem.ts
@@ -342,12 +342,11 @@ export const processSync = (data?: IWebSocketData) => {
}
const useElement = iconElement.querySelector("use");
if (!data) {
+ iconElement.classList.remove("toolbar__item--active");
if (!window.siyuan.config.sync.enabled || (0 === window.siyuan.config.sync.provider && needSubscribe(""))) {
- iconElement.classList.add("toolbar__item--active");
iconElement.setAttribute("aria-label", window.siyuan.languages["_kernel"]["53"]);
useElement.setAttribute("xlink:href", "#iconCloudOff");
} else {
- iconElement.classList.remove("toolbar__item--active");
useElement.setAttribute("xlink:href", "#iconCloudSucc");
}
return;