1
0
Fork 0
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:
Andrew Simachev 2024-01-08 13:57:08 +01:00
parent 80cd93f2fb
commit 9c1a37345f
No known key found for this signature in database
GPG key ID: 49A163D0D14E6FD8

View file

@ -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' });
};