Skip to content

Commit

Permalink
UIU-2164-Add-permissiions-type-fiter add filter
Browse files Browse the repository at this point in the history
  • Loading branch information
elsenhans authored and zburke committed Jul 8, 2021
1 parent 3808c5a commit 25291ba
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/settings/permissions/PermissionSetForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ import stripesFinalForm from '@folio/stripes/final-form';
import { Field } from 'react-final-form';

import PermissionsAccordion from '../../components/PermissionsAccordion';
import { statusFilterConfig } from '../../components/PermissionsAccordion/helpers/filtersConfig';
import {
statusFilterConfig,
permissionTypeFilterConfig,
} from '../../components/PermissionsAccordion/helpers/filtersConfig';

import styles from './PermissionSetForm.css';

Expand Down Expand Up @@ -281,7 +284,10 @@ class PermissionSetForm extends React.Component {
confirmLabel={<FormattedMessage id="ui-users.delete" />}
/>
<PermissionsAccordion
filtersConfig={[statusFilterConfig]}
filtersConfig={[
permissionTypeFilterConfig,
statusFilterConfig,
]}
expanded={sections.permSection}
visibleColumns={[
'selected',
Expand Down

0 comments on commit 25291ba

Please sign in to comment.