mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
This commit is contained in:
parent
c6f5d9a26d
commit
3b9ae96dbd
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue