Skip to content

Commit c12fcb9

Browse files
authored
ERM-3060: Use "Category" not "Type" in document filter (#1265)
* fix: Use "Category" not "Type" in document filter Replaced "Type" translation with "Category" within attributes data options array ERM-3060 * fix: Documents filter closed by default Made agreements documnent filter closed by default
1 parent 118fce8 commit c12fcb9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/components/AgreementDocumentFilter/AgreementDocumentFilter.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ const AgreementDocumentFilter = ({ activeFilters, filterHandlers }) => {
9393

9494
return (
9595
<Accordion
96+
closedByDefault
9697
displayClearButton={!!parsedFilterData?.length}
9798
header={FilterAccordionHeader}
9899
id="clickable-agreement-document-filter"

src/components/AgreementDocumentFilter/AgreementDocumentFilterRule.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const AgreementDocumentFilterRule = ({
5555
value: 'supplementaryDocs.note',
5656
},
5757
{
58-
label: intl.formatMessage({ id: 'stripes-erm-components.doc.type' }),
58+
label: intl.formatMessage({ id: 'stripes-erm-components.doc.category' }),
5959
value: 'supplementaryDocs.atType.value',
6060
},
6161
{

0 commit comments

Comments
 (0)