1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-10 18:10:54 +09:00

JS-5928: fix

This commit is contained in:
Andrew Simachev 2024-12-05 15:16:12 +01:00
parent 392de53110
commit 3738144df7
No known key found for this signature in database
GPG key ID: 1DFE44B21443F0EF

View file

@ -594,11 +594,10 @@ class UtilMenu {
data: {
options: [
{ id: I.HomePredefinedId.Graph, name: translate('commonGraph') },
{ id: I.HomePredefinedId.Chat, name: translate('commonChat') },
(U.Object.isAllowedChat() ? { id: I.HomePredefinedId.Chat, name: translate('commonChat') } : null),
{ id: I.HomePredefinedId.Last, name: translate('spaceLast') },
{ id: I.HomePredefinedId.Existing, name: translate('spaceExisting'), arrow: true },
],
].filter(it => it),
onOver: (e: any, item: any) => {
if (!menuContext) {
return;