Skip to content

Commit

Permalink
Fix translations for the result tabs (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
reebalazs committed Feb 20, 2024
1 parent 1e9587d commit a45a00a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions news/16.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix translations for the result tabs @reebalazs
6 changes: 1 addition & 5 deletions src/components/theme/SolrSearch/SearchTabs.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@ export const SearchTabs = ({ groupSelect, setGroupSelect, facetGroups }) => {
}
>
<span>
{messages[label] ? (
<FormattedMessage {...messages[label]} />
) : (
label
)}
{intl.formatMessage({ id: label, defaultMessage: label })}
<span
className={
'searchCounter ui circular label ' +
Expand Down

0 comments on commit a45a00a

Please sign in to comment.