fix: self node type shouldn't show in the picker (#4445)
This commit is contained in:
@@ -84,7 +84,7 @@ const Item = ({
|
||||
}}
|
||||
trigger={renderTrigger}
|
||||
popupClassName='!w-[328px]'
|
||||
availableBlocksTypes={intersection(availablePrevNodes, availableNextNodes)}
|
||||
availableBlocksTypes={intersection(availablePrevNodes, availableNextNodes).filter(item => item !== data.type)}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user