We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cd9011 commit 7811c6eCopy full SHA for 7811c6e
sim/components/ui/tag-dropdown.tsx
@@ -531,7 +531,8 @@ export const TagDropdown: React.FC<TagDropdownProps> = ({
531
// Get block type from blocks
532
const blockType = Object.values(blocks).find(
533
(block) =>
534
- (block.name || block.type).replace(/\s+/g, '').toLowerCase() === blockName
+ (block.name || block.type || '').replace(/\s+/g, '').toLowerCase() ===
535
+ blockName
536
)?.type
537
538
// Get block color from block config
0 commit comments