🎨 为同步状态添加对应的图标 https://github.com/siyuan-note/siyuan/issues/7041

This commit is contained in:
Liang Ding 2023-01-24 13:20:45 +08:00
parent f1b302ee6b
commit 87f230023c
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -149,13 +149,7 @@ func setSyncEnable(c *gin.Context) {
}
enabled := arg["enabled"].(bool)
err := model.SetSyncEnable(enabled)
if nil != err {
ret.Code = 1
ret.Msg = err.Error()
ret.Data = map[string]interface{}{"closeTimeout": 5000}
return
}
model.SetSyncEnable(enabled)
}
func setSyncMode(c *gin.Context) {