mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🎨 为同步状态添加对应的图标 https://github.com/siyuan-note/siyuan/issues/7041
This commit is contained in:
parent
f1b302ee6b
commit
87f230023c
1 changed files with 1 additions and 7 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue