mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 15:10:12 +01:00
🎨 Expand doc tree after duplicating doc https://github.com/siyuan-note/siyuan/issues/14125
This commit is contained in:
parent
e8de30d2a2
commit
d91c9afcb4
1 changed files with 1 additions and 0 deletions
|
|
@ -655,6 +655,7 @@ func duplicateDoc(c *gin.Context) {
|
||||||
notebook := tree.Box
|
notebook := tree.Box
|
||||||
box := model.Conf.Box(notebook)
|
box := model.Conf.Box(notebook)
|
||||||
model.DuplicateDoc(tree)
|
model.DuplicateDoc(tree)
|
||||||
|
arg["listDocTree"] = true
|
||||||
pushCreate(box, tree.Path, arg)
|
pushCreate(box, tree.Path, arg)
|
||||||
|
|
||||||
ret.Data = map[string]interface{}{
|
ret.Data = map[string]interface{}{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue