mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-26 08:54:07 +01:00
Remove RemoveRecentDoc function and its calls from multiple files to streamline document handling
This commit is contained in:
parent
ddbcacfe81
commit
f6217c0b50
4 changed files with 1 additions and 27 deletions
|
|
@ -284,7 +284,6 @@ func Doc2Heading(srcID, targetID string, after bool) (srcTreeBox, srcTreePath st
|
|||
logging.LogWarnf("remove tree [%s] failed: %s", srcTree.Path, removeErr)
|
||||
}
|
||||
box.removeSort([]string{srcTree.ID})
|
||||
RemoveRecentDoc([]string{srcTree.ID})
|
||||
evt := util.NewCmdResult("removeDoc", 0, util.PushModeBroadcast)
|
||||
evt.Data = map[string]interface{}{
|
||||
"ids": []string{srcTree.ID},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue