mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-24 05:07:06 +08:00
fix: unusual search results
This commit is contained in:
@@ -29,7 +29,7 @@ export const Results = (props: {
|
|||||||
const pageIds = [...results.values()];
|
const pageIds = [...results.values()];
|
||||||
|
|
||||||
const resultsPageMeta = pageList.filter(
|
const resultsPageMeta = pageList.filter(
|
||||||
page => pageIds.indexOf(page.id) > -1
|
page => pageIds.indexOf(page.id) > -1 && page.trash !== true
|
||||||
);
|
);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user