Skip to content

Commit

Permalink
fix: use Donors instead of DonorsList component
Browse files Browse the repository at this point in the history
  • Loading branch information
alisher-epam committed Nov 9, 2023
1 parent a6a30b2 commit 0e2e97d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/components/POLine/POLineForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import {
import { ViewMetaData } from '@folio/stripes/smart-components';
import stripesForm from '@folio/stripes/final-form';
import {
DonorsList,
Donors,
FundDistributionFieldsFinal,
handleKeyCommand,
} from '@folio/stripes-acq-components';
Expand Down Expand Up @@ -454,11 +454,9 @@ function POLineForm({
id={ACCORDION_ID.donorsInformation}
label={<FormattedMessage id="ui-orders.line.accordion.donorInformation" />}
>
<DonorsList
<Donors
name="donorOrganizationIds"
donorOrganizationIds={donorOrganizationIds}
visibleColumns={['name', 'code', 'unassignDonor']}
columnWidths={{ name: '45%', code: '45%', unassignDonor: '10%' }}
/>
</Accordion>
{isOngoing(order.orderType) && (
Expand Down

0 comments on commit 0e2e97d

Please sign in to comment.