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:
parent
b38dcd875f
commit
89fde8ad31
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue