mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-29 12:58:48 +01:00
This commit is contained in:
parent
d138e5c04c
commit
250bb3839d
3 changed files with 30 additions and 3 deletions
|
|
@ -441,7 +441,6 @@ export const processSync = (data?: IWebSocketData) => {
|
|||
if (!data) {
|
||||
iconElement.classList.remove("toolbar__item--active");
|
||||
if (!window.siyuan.config.sync.enabled || (0 === window.siyuan.config.sync.provider && needSubscribe(""))) {
|
||||
iconElement.setAttribute("aria-label", window.siyuan.languages["_kernel"]["53"]);
|
||||
useElement.setAttribute("xlink:href", "#iconCloudOff");
|
||||
} else {
|
||||
useElement.setAttribute("xlink:href", "#iconCloudSucc");
|
||||
|
|
@ -460,6 +459,5 @@ export const processSync = (data?: IWebSocketData) => {
|
|||
iconElement.classList.remove("toolbar__item--active");
|
||||
useElement.setAttribute("xlink:href", "#iconCloudSucc");
|
||||
}
|
||||
iconElement.setAttribute("aria-label", data.msg);
|
||||
/// #endif
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue