Browse Source

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

Vanessa 2 years ago
parent
commit
3b9ae96dbd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/src/dialog/processSystem.ts

+ 1 - 1
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");