mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 11:50:04 -06:00
🎨 为同步状态添加对应的图标 https://github.com/siyuan-note/siyuan/issues/7041
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user