mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-02 11:31:08 +03:00
fix(core): some doc missing in search result (#7818)
This commit is contained in:
parent
eef9afd3ed
commit
b993ab04df
@ -79,7 +79,7 @@ async function crawlingDocData({
|
||||
(
|
||||
yRootDoc.getMap('meta').get('pages') as YArray<YMap<any>> | undefined
|
||||
)?.forEach(page => {
|
||||
if (page.get('id') === storageDocId) {
|
||||
if (page.get('id') === docId) {
|
||||
docExists = !(page.get('trash') ?? false);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user