mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-30 20:25:17 +01:00
🎨 位于超级块中的嵌入块不显示面包屑 Fix https://github.com/siyuan-note/siyuan/issues/6258
This commit is contained in:
parent
4b84d6abd1
commit
6352273052
5 changed files with 22 additions and 9 deletions
|
|
@ -127,6 +127,7 @@ func searchEmbedBlock(c *gin.Context) {
|
|||
return
|
||||
}
|
||||
|
||||
embedBlockID := arg["embedBlockID"].(string)
|
||||
stmt := arg["stmt"].(string)
|
||||
excludeIDsArg := arg["excludeIDs"].([]interface{})
|
||||
var excludeIDs []string
|
||||
|
|
@ -144,7 +145,7 @@ func searchEmbedBlock(c *gin.Context) {
|
|||
breadcrumb = breadcrumbArg.(bool)
|
||||
}
|
||||
|
||||
blocks := model.SearchEmbedBlock(stmt, excludeIDs, headingMode, breadcrumb)
|
||||
blocks := model.SearchEmbedBlock(embedBlockID, stmt, excludeIDs, headingMode, breadcrumb)
|
||||
ret.Data = map[string]interface{}{
|
||||
"blocks": blocks,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue