mirror of
https://github.com/simstudioai/sim.git
synced 2026-04-06 03:00:16 -04:00
improvement(tag-dropdown): typed tag dropdown values (#910)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user