From 3b9ae96dbdc744b724efd3ad8de5e1013455880c Mon Sep 17 00:00:00 2001 From: Vanessa Date: Tue, 24 Jan 2023 17:39:27 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/7041 --- app/src/dialog/processSystem.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/dialog/processSystem.ts b/app/src/dialog/processSystem.ts index 3d7f320f6..2426fe83d 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");