mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 07:30:12 +01:00
🎨 Clean code
This commit is contained in:
parent
29f744c7e0
commit
f9a696aa14
1 changed files with 0 additions and 1 deletions
|
|
@ -1430,7 +1430,6 @@ func fullTextSearchByFTSWithRoot(query, boxFilter, pathFilter, typeFilter, ignor
|
||||||
for j, block := range blocks {
|
for j, block := range blocks {
|
||||||
if resultBlock.ID == block.ID {
|
if resultBlock.ID == block.ID {
|
||||||
resultBlocks[i] = block
|
resultBlocks[i] = block
|
||||||
// 减少 blocks
|
|
||||||
blocks = append(blocks[:j], blocks[j+1:]...)
|
blocks = append(blocks[:j], blocks[j+1:]...)
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue