feat: headless filter in all pages tab (#2566)

Co-authored-by: himself65 <himself65@outlook.com>
This commit is contained in:
3720
2023-05-29 12:06:40 +08:00
committed by GitHub
parent e0eb216b9b
commit f3ac12254c
23 changed files with 1098 additions and 15 deletions

View File

@@ -330,9 +330,10 @@ export const AffinePlugin: WorkspaceAdapter<WorkspaceFlavour.AFFINE> = {
</>
);
},
PageList: ({ blockSuiteWorkspace, onOpenPage }) => {
PageList: ({ blockSuiteWorkspace, onOpenPage, view }) => {
return (
<BlockSuitePageList
view={view}
listType="all"
onOpenPage={onOpenPage}
blockSuiteWorkspace={blockSuiteWorkspace}

View File

@@ -100,10 +100,11 @@ export const LocalPlugin: WorkspaceAdapter<WorkspaceFlavour.LOCAL> = {
</>
);
},
PageList: ({ blockSuiteWorkspace, onOpenPage }) => {
PageList: ({ blockSuiteWorkspace, onOpenPage, view }) => {
return (
<BlockSuitePageList
listType="all"
view={view}
onOpenPage={onOpenPage}
blockSuiteWorkspace={blockSuiteWorkspace}
/>