Skip to content

Commit

Permalink
fix(TDOPS-4795): faceted search wrong plural label
Browse files Browse the repository at this point in the history
  • Loading branch information
inna-i committed Jul 18, 2023
1 parent 10d6dd0 commit ab281ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ const getSelectBadgeLabel = (value, t) => {
if (checkedCheckboxes.length > 3) {
return t('FACETED_SEARCH_VALUES_COUNT', {
count: checkedCheckboxes.length,
defaultValue: '{{count}} value',
defaultValue_plural: '{{count}} values',
defaultValue: '{{count}} values',
});
} else if (!checkedCheckboxes.length) {
return labelAll;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ const getSelectBadgeLabel = (value, t) => {
if (checkedCheckboxes.length > 3) {
return t('FACETED_SEARCH_VALUES_COUNT', {
count: checkedCheckboxes.length,
defaultValue: '{{count}} value',
defaultValue_plural: '{{count}} values',
defaultValue: '{{count}} values',
});
} else if (!checkedCheckboxes.length) {
return labelAll;
Expand Down

0 comments on commit ab281ee

Please sign in to comment.