mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-11 10:18:07 +09:00
fix: remove log
This commit is contained in:
parent
29b8a803a4
commit
e20f8228dd
1 changed files with 1 additions and 2 deletions
|
@ -514,7 +514,6 @@ class MenuSmile extends React.Component<I.Menu, State> {
|
|||
|
||||
onArrowVertical (dir: number) {
|
||||
const rows = this.getItems();
|
||||
console.log('dir',dir);
|
||||
|
||||
this.row += dir;
|
||||
|
||||
|
@ -537,7 +536,7 @@ class MenuSmile extends React.Component<I.Menu, State> {
|
|||
|
||||
const firstBlankIndex = current.children.findIndex((item: any) => item.itemId == ID_BLANK);
|
||||
|
||||
if (firstBlankIndex > -1) {
|
||||
if ((firstBlankIndex > -1) && (firstBlankIndex <= this.coll)) {
|
||||
this.coll = firstBlankIndex - 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue