🎨 数据历史文档支持只读可视化预览 https://github.com/siyuan-note/siyuan/issues/5735
This commit is contained in:
parent
46ed13a840
commit
8945626fc0
1 changed files with 1 additions and 1 deletions
|
@ -1198,7 +1198,6 @@ func RemoveDoc(boxID, p string) (err error) {
|
|||
return errors.New(fmt.Sprintf(Conf.Language(70), box.Name, absPath, err))
|
||||
}
|
||||
|
||||
indexHistoryDir(filepath.Base(historyDir), NewLute())
|
||||
copyDocAssetsToDataAssets(boxID, p)
|
||||
|
||||
rootID := tree.ID
|
||||
|
@ -1212,6 +1211,7 @@ func RemoveDoc(boxID, p string) (err error) {
|
|||
return
|
||||
}
|
||||
}
|
||||
indexHistoryDir(filepath.Base(historyDir), NewLute())
|
||||
|
||||
box.removeSort(rootID, p)
|
||||
if err = box.Remove(p); nil != err {
|
||||
|
|
Loading…
Add table
Reference in a new issue