Skip to content

Commit

Permalink
resultList: Add overridable descriptio
Browse files Browse the repository at this point in the history
  • Loading branch information
jrcastro2 committed Jan 30, 2025
1 parent f902b21 commit 8a9735f
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,15 @@ class RecordsResultsListItem extends Component {
<Item className="creatibutors">
<SearchItemCreators creators={creators} othersLink={viewLink} />
</Item>
<Item.Description className="truncate-lines-2">
{descriptionStripped}
</Item.Description>
<Overridable id={buildUID("RecordsResultsListItem.description", "", appName)}
descriptionStripped={descriptionStripped}
result={result}
>
<Item.Description className="truncate-lines-2">
{descriptionStripped}
</Item.Description>
</Overridable>

<Item.Extra>
{subjects.map((subject) => (
<Label key={subject.title_l10n} size="tiny">
Expand Down

0 comments on commit 8a9735f

Please sign in to comment.