fix: self node type shouldn't show in the picker (#4445)
This commit is contained in:
parent
3df47b7b59
commit
0f1172f55b
1 changed files with 2 additions and 2 deletions
|
|
@ -84,7 +84,7 @@ const Item = ({
|
||||||
}}
|
}}
|
||||||
trigger={renderTrigger}
|
trigger={renderTrigger}
|
||||||
popupClassName='!w-[328px]'
|
popupClassName='!w-[328px]'
|
||||||
availableBlocksTypes={intersection(availablePrevNodes, availableNextNodes)}
|
availableBlocksTypes={intersection(availablePrevNodes, availableNextNodes).filter(item => item !== data.type)}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue