🎨 数据历史文档和资源文件支持分页和搜索 https://github.com/siyuan-note/siyuan/issues/4901

This commit is contained in:
Liang Ding 2022-08-23 11:30:51 +08:00
parent f69798f91e
commit 8b137e0d6d
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
8 changed files with 204 additions and 18 deletions

View file

@ -91,7 +91,7 @@ func RemoveBox(boxID string) (err error) {
filelock.ReleaseFileLocks(localPath)
if !IsUserGuide(boxID) {
var historyDir string
historyDir, err = util.GetHistoryDir("delete")
historyDir, err = GetHistoryDir(HistoryOpDelete)
if nil != err {
logging.LogErrorf("get history dir failed: %s", err)
return