🎨 Improve clear workspace history msg pushing https://github.com/siyuan-note/siyuan/issues/12080

This commit is contained in:
Daniel 2024-09-04 10:49:06 +08:00
parent b100721fee
commit 1458024ea5
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -127,9 +127,7 @@ func clearWorkspaceHistory(c *gin.Context) {
ret.Msg = err.Error()
return
}
util.PushClearMsg(msgId)
time.Sleep(500 * time.Millisecond)
util.PushMsg(model.Conf.Language(99), 1000*5)
util.PushUpdateMsg(msgId, model.Conf.Language(99), 1000*5)
}
func getDocHistoryContent(c *gin.Context) {