mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 16:58:49 +01:00
This commit is contained in:
parent
68b0f4e8b3
commit
1085926f8d
2 changed files with 18 additions and 1 deletions
|
|
@ -1258,7 +1258,7 @@ func autoFixIndex() {
|
|||
|
||||
redundantPaths := treenode.GetRedundantPaths(box.ID, paths)
|
||||
for _, p := range redundantPaths {
|
||||
treenode.RemoveBlockTreesByPathPrefix(p)
|
||||
treenode.RemoveBlockTreesByPath(p)
|
||||
}
|
||||
|
||||
missingPaths := treenode.GetNotExistPaths(box.ID, paths)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue