Skip to content

Commit db581dc

Browse files
authored
improvement(tag-dropdown): typed tag dropdown values (#910)
1 parent 87e0586 commit db581dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/sim/components/ui/tag-dropdown.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1358,7 +1358,7 @@ export const TagDropdown: React.FC<TagDropdownProps> = ({
13581358
{hasChildren && (
13591359
<ChevronRight className='h-4 w-4 text-muted-foreground' />
13601360
)}
1361-
{tagDescription && !hasChildren && (
1361+
{tagDescription && tagDescription !== 'any' && !hasChildren && (
13621362
<span className='ml-auto text-muted-foreground text-xs'>
13631363
{tagDescription}
13641364
</span>
@@ -1447,7 +1447,7 @@ export const TagDropdown: React.FC<TagDropdownProps> = ({
14471447
</span>
14481448
</div>
14491449
<span className='flex-1 truncate'>{child.display}</span>
1450-
{childType && (
1450+
{childType && childType !== 'any' && (
14511451
<span className='ml-auto text-muted-foreground text-xs'>
14521452
{childType}
14531453
</span>

0 commit comments

Comments
 (0)