🎨 Refresh associated blocks after find-replacing and rolling back doc

https://github.com/siyuan-note/siyuan/issues/12439
https://github.com/siyuan-note/siyuan/issues/12438
This commit is contained in:
Daniel
2024-09-11 17:22:16 +08:00
parent e2cb9fe453
commit 8b2c08439f
10 changed files with 235 additions and 167 deletions

View File

@@ -385,7 +385,7 @@ func getRefIDs(c *gin.Context) {
}
id := arg["id"].(string)
refIDs, refTexts, defIDs := model.GetBlockRefIDs(id)
refIDs, refTexts, defIDs := model.GetBlockRefs(id)
ret.Data = map[string][]string{
"refIDs": refIDs,
"refTexts": refTexts,