improvement(tag-dropdown): typed tag dropdown values (#910)

This commit is contained in:
Waleed Latif
2025-08-08 11:34:40 -07:00
committed by GitHub
parent 87e0586d0a
commit db581dc727

View File

@@ -1358,7 +1358,7 @@ export const TagDropdown: React.FC<TagDropdownProps> = ({
{hasChildren && (
<ChevronRight className='h-4 w-4 text-muted-foreground' />
)}
{tagDescription && !hasChildren && (
{tagDescription && tagDescription !== 'any' && !hasChildren && (
<span className='ml-auto text-muted-foreground text-xs'>
{tagDescription}
</span>
@@ -1447,7 +1447,7 @@ export const TagDropdown: React.FC<TagDropdownProps> = ({
</span>
</div>
<span className='flex-1 truncate'>{child.display}</span>
{childType && (
{childType && childType !== 'any' && (
<span className='ml-auto text-muted-foreground text-xs'>
{childType}
</span>