mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
JS-3928: webclipper fixes
This commit is contained in:
parent
9ea1b9cfa1
commit
c081260f19
1 changed files with 2 additions and 0 deletions
|
@ -135,8 +135,10 @@ const Create = observer(class Create extends React.Component<I.PageComponent, St
|
|||
onSelect () {
|
||||
const { object } = this.state;
|
||||
const node = $(this.node);
|
||||
const templateType = dbStore.getTemplateType();
|
||||
const filters: I.Filter[] = [
|
||||
{ operator: I.FilterOperator.And, relationKey: 'layout', condition: I.FilterCondition.In, value: UtilObject.getPageLayouts() },
|
||||
{ operator: I.FilterOperator.And, relationKey: 'type', condition: I.FilterCondition.NotEqual, value: templateType?.id },
|
||||
];
|
||||
|
||||
menuStore.open('searchObject', {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue