1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-09 17:45:02 +09:00

skip gallery in MenuSpace

This commit is contained in:
Andrew Simachev 2024-02-15 17:15:18 +01:00
parent b38dcd875f
commit 89fde8ad31
No known key found for this signature in database
GPG key ID: 49A163D0D14E6FD8

View file

@ -200,7 +200,7 @@ const MenuSpace = observer(class MenuSpace extends React.Component<I.Menu> {
this.n = 0;
};
if (items[this.n] && (items[this.n].id == 'add')) {
if (items[this.n] && ([ 'add', 'gallery' ].includes(items[this.n].id))) {
this.onArrow(dir);
} else {
this.props.setActive();