diff --git a/CHANGELOG.md b/CHANGELOG.md index aa2ed54f..4381ea69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ * Increase code coverage for src/ViewRequest.js by Jest/RTL tests. Refs UIREQ-1046. * React v19: refactor away from default props for functional components. Refs UIREQ-1101. * Add "Retrieval service point" filter. Refs UIREQ-1190. +* Add icons to requests action menu. Refs UIREQ-1116. ## [11.0.2] (https://github.com/folio-org/ui-requests/tree/v11.0.2) (2024-12-10) [Full Changelog](https://github.com/folio-org/ui-requests/compare/v11.0.1...v11.0.2) diff --git a/src/deprecated/routes/RequestsRoute/RequestsRoute.js b/src/deprecated/routes/RequestsRoute/RequestsRoute.js index f53829f9..c9f2faad 100644 --- a/src/deprecated/routes/RequestsRoute/RequestsRoute.js +++ b/src/deprecated/routes/RequestsRoute/RequestsRoute.js @@ -34,6 +34,7 @@ import { DefaultMCLRowFormatter, NoValue, MCLPagingTypes, + Icon, } from '@folio/stripes/components'; import { deparseFilters, @@ -1467,7 +1468,9 @@ class RequestsRoute extends React.Component { to={`${this.props.location.pathname}?layer=create`} onClick={onToggle} > - + + + {csvReportPending ? @@ -1484,7 +1487,9 @@ class RequestsRoute extends React.Component { this.exportData(); }} > - + + + } { @@ -1503,10 +1508,12 @@ class RequestsRoute extends React.Component { this.exportExpiredHoldsToCSV(); }} > - + + + - + + + - + + + } @@ -1578,10 +1589,12 @@ class RequestsRoute extends React.Component { contentRef={this.searchSlipsPrintContentRef} onBeforeGetContent={() => this.onBeforeGetContentForPrintButton(onToggle)} > - + + + } diff --git a/src/routes/RequestsRoute.js b/src/routes/RequestsRoute.js index e335ba15..b8713dcd 100644 --- a/src/routes/RequestsRoute.js +++ b/src/routes/RequestsRoute.js @@ -36,6 +36,7 @@ import { DefaultMCLRowFormatter, NoValue, MCLPagingTypes, + Icon, } from '@folio/stripes/components'; import { deparseFilters, @@ -1545,7 +1546,9 @@ class RequestsRoute extends React.Component { to={`${this.props.location.pathname}?layer=create`} onClick={onToggle} > - + + + {csvReportPending ? @@ -1562,7 +1565,9 @@ class RequestsRoute extends React.Component { this.exportData(); }} > - + + + } { @@ -1581,10 +1586,12 @@ class RequestsRoute extends React.Component { this.exportExpiredHoldsToCSV(); }} > - + + + - + + + - + + + } @@ -1656,10 +1667,12 @@ class RequestsRoute extends React.Component { contentRef={this.searchSlipsPrintContentRef} onBeforeGetContent={() => this.onBeforeGetContentForPrintButton(onToggle)} > - + + + }