mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-16 17:10:53 +08:00
🎨 Clean code
This commit is contained in:
parent
29f744c7e0
commit
f9a696aa14
@ -1430,7 +1430,6 @@ func fullTextSearchByFTSWithRoot(query, boxFilter, pathFilter, typeFilter, ignor
|
||||
for j, block := range blocks {
|
||||
if resultBlock.ID == block.ID {
|
||||
resultBlocks[i] = block
|
||||
// 减少 blocks
|
||||
blocks = append(blocks[:j], blocks[j+1:]...)
|
||||
break
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user