mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
fix default type id
This commit is contained in:
parent
769820df37
commit
41b1a2600d
1 changed files with 1 additions and 2 deletions
|
@ -214,8 +214,7 @@ const Create = observer(class Create extends React.Component<I.PageComponent, St
|
|||
};
|
||||
|
||||
if (!this.details.type) {
|
||||
const bookmark = dbStore.getBookmarkType();
|
||||
this.details.type = bookmark?.id || options[0].id;
|
||||
this.details.type = Constant.typeKey.bookmark;
|
||||
};
|
||||
|
||||
this.refType.setOptions(options);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue