Skip to content

Commit

Permalink
🐛 文档转换标题后文档树刷新不正确 #7435
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Feb 22, 2023
1 parent 0cb2027 commit 872378d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/model/listitem.go
Expand Up @@ -98,6 +98,7 @@ func ListItem2Doc(srcListItemID, targetBoxID, targetPath string) (srcRootBlockID
if nil == srcTree.Root.FirstChild {
srcTree.Root.AppendChild(treenode.NewParagraph())
}
treenode.RemoveBlockTreesByRootID(srcTree.ID)
if err = indexWriteJSONQueue(srcTree); nil != err {
return "", "", err
}
Expand Down

0 comments on commit 872378d

Please sign in to comment.