mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 Expand doc tree after duplicating doc https://github.com/siyuan-note/siyuan/issues/14125
This commit is contained in:
@@ -655,6 +655,7 @@ func duplicateDoc(c *gin.Context) {
|
||||
notebook := tree.Box
|
||||
box := model.Conf.Box(notebook)
|
||||
model.DuplicateDoc(tree)
|
||||
arg["listDocTree"] = true
|
||||
pushCreate(box, tree.Path, arg)
|
||||
|
||||
ret.Data = map[string]interface{}{
|
||||
|
||||
Reference in New Issue
Block a user