mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Improve rename doc push message
This commit is contained in:
parent
1e36fbf241
commit
426225af96
9 changed files with 25 additions and 10 deletions
|
|
@ -1228,7 +1228,7 @@ func batchUpdateHPath(tx *sql.Tx, boxID, rootID, newHPath string, context map[st
|
|||
}
|
||||
ClearCache()
|
||||
evtHash := fmt.Sprintf("%x", sha256.Sum256([]byte(rootID)))[:7]
|
||||
eventbus.Publish(eventbus.EvtSQLInsertBlocksFTS, context, 1, evtHash)
|
||||
eventbus.Publish(eventbus.EvtSQLUpdateBlocksHPaths, context, 1, evtHash)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue