fix(core): some doc missing in search result (#7818)
This commit is contained in:
@@ -79,7 +79,7 @@ async function crawlingDocData({
|
|||||||
(
|
(
|
||||||
yRootDoc.getMap('meta').get('pages') as YArray<YMap<any>> | undefined
|
yRootDoc.getMap('meta').get('pages') as YArray<YMap<any>> | undefined
|
||||||
)?.forEach(page => {
|
)?.forEach(page => {
|
||||||
if (page.get('id') === storageDocId) {
|
if (page.get('id') === docId) {
|
||||||
docExists = !(page.get('trash') ?? false);
|
docExists = !(page.get('trash') ?? false);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user