mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 12:51:13 -05:00
feat: Display subtitle as badge
This commit is contained in:
@@ -281,9 +281,11 @@ export function AutocompleteSearch({
|
|||||||
{getTypeLabel(item.type)}
|
{getTypeLabel(item.type)}
|
||||||
</Badge>
|
</Badge>
|
||||||
</div>
|
</div>
|
||||||
<div className="text-sm text-muted-foreground/80 truncate leading-relaxed flex-shrink-0">
|
{item.subtitle && (
|
||||||
{item.subtitle}
|
<Badge variant="secondary" className="text-xs flex-shrink-0 max-w-32 truncate">
|
||||||
</div>
|
{item.subtitle}
|
||||||
|
</Badge>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{(item as SearchResult).rating && (item as SearchResult).rating! > 0.0 && (
|
{(item as SearchResult).rating && (item as SearchResult).rating! > 0.0 && (
|
||||||
|
|||||||
Reference in New Issue
Block a user