Browse Source

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

Vanessa 2 năm trước cách đây
mục cha
commit
3b9ae96dbd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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");