mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
⚡ Improve performance for rendering databases, due flashcards
This commit is contained in:
parent
65f24b376e
commit
06f3721fd4
6 changed files with 36 additions and 7 deletions
|
|
@ -244,7 +244,7 @@ func openNotebook(c *gin.Context) {
|
|||
"20240530133126-axarxgx": "20240530101000-4qitucx",
|
||||
}
|
||||
startID = guideStartID[notebook]
|
||||
if nil != treenode.GetBlockTree(startID) {
|
||||
if treenode.ExistBlockTree(startID) {
|
||||
util.BroadcastByTypeAndApp("main", app, "openFileById", 0, "", map[string]interface{}{
|
||||
"id": startID,
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue