🎨 Refresh result list after find-replace https://github.com/siyuan-note/siyuan/issues/12437

This commit is contained in:
Daniel 2024-09-11 12:03:51 +08:00
parent 29a27c3fc4
commit 83952c24cc
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -791,7 +791,7 @@ func FindReplace(keyword, replacement string, replaceTypes map[string]bool, ids
util.PushEndlessProgress(fmt.Sprintf(Conf.Language(207), i+1, len(renameRoots)))
}
WaitForWritingFiles()
sql.WaitForWritingDatabase()
reloadTreeIDs = gulu.Str.RemoveDuplicatedElem(reloadTreeIDs)
for _, id := range reloadTreeIDs {