diff --git a/ui/src/components/search/SearchResultRow.tsx b/ui/src/components/search/SearchResultRow.tsx index 11bb0e3da33..dc80855d04f 100644 --- a/ui/src/components/search/SearchResultRow.tsx +++ b/ui/src/components/search/SearchResultRow.tsx @@ -64,8 +64,8 @@ export function SearchResultRow({ ))}
@@ -191,18 +193,27 @@ interface SnippetLineProps { highlights?: HighlightedTextProps["highlights"]; field: string; fallbackLabel: string; + multiline?: boolean; } -function SnippetLine({ text, highlights, field, fallbackLabel }: SnippetLineProps) { +function SnippetLine({ text, highlights, field, fallbackLabel, multiline = false }: SnippetLineProps) { const { Icon, label } = snippetStyle(field, fallbackLabel); return ( -
- +
+ {label}:
);