1
0
Fork 0
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:
Andrew Simachev 2024-07-01 18:19:27 +02:00
parent 87ff8b5af9
commit 761c0d3fa5
No known key found for this signature in database
GPG key ID: 49A163D0D14E6FD8
2 changed files with 3 additions and 2 deletions

3
dist/lib/.gitignore vendored
View file

@ -1,3 +1,4 @@
pb
pkg
protos
protos
*.js

View file

@ -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 }
];