mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
JS-3274: fix
This commit is contained in:
parent
80cd93f2fb
commit
9c1a37345f
1 changed files with 5 additions and 0 deletions
|
@ -168,6 +168,11 @@ const Head = observer(class Head extends React.Component<I.ViewComponent, State>
|
|||
window.setTimeout(() => loadData(message.views[0].id, 0, true), 50);
|
||||
};
|
||||
|
||||
if (isNew) {
|
||||
this.menuContext?.close();
|
||||
this.setEditing(true);
|
||||
};
|
||||
|
||||
analytics.event('InlineSetSetSource', { type: isNew ? 'newObject' : 'externalObject' });
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue