mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-07 21:47:02 +09:00
add files to search
This commit is contained in:
parent
87ff8b5af9
commit
761c0d3fa5
2 changed files with 3 additions and 2 deletions
3
dist/lib/.gitignore
vendored
3
dist/lib/.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
pb
|
||||
pkg
|
||||
protos
|
||||
protos
|
||||
*.js
|
|
@ -517,7 +517,7 @@ const PopupSearch = observer(class PopupSearch extends React.Component<I.Popup,
|
|||
const filter = this.getFilter();
|
||||
const templateType = S.Record.getTemplateType();
|
||||
const filters: any[] = [
|
||||
{ operator: I.FilterOperator.And, relationKey: 'layout', condition: I.FilterCondition.NotIn, value: U.Object.getFileAndSystemLayouts() },
|
||||
{ operator: I.FilterOperator.And, relationKey: 'layout', condition: I.FilterCondition.NotIn, value: U.Object.getSystemLayouts() },
|
||||
{ operator: I.FilterOperator.And, relationKey: 'type', condition: I.FilterCondition.NotEqual, value: templateType?.id },
|
||||
{ operator: I.FilterOperator.And, relationKey: 'spaceId', condition: I.FilterCondition.Equal, value: space }
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue