diff --git a/CHANGELOG.md b/CHANGELOG.md index b1536630..61da1a99 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ * React v19: refactor away from default props for functional components. Refs UIREQ-1101. * Add "Retrieval service point" filter. Refs UIREQ-1190. * Include `Retrieval service point` column in csv exports. Refs UIREQ-1191. +* 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 d46829b1..f4a3515d 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, @@ -1548,7 +1549,9 @@ class RequestsRoute extends React.Component { to={`${this.props.location.pathname}?layer=create`} onClick={onToggle} > - + + + {csvReportPending ? @@ -1565,7 +1568,9 @@ class RequestsRoute extends React.Component { this.exportData(); }} > - + + + } { @@ -1584,10 +1589,12 @@ class RequestsRoute extends React.Component { this.exportExpiredHoldsToCSV(); }} > - + + + - + + + - + + + } @@ -1659,10 +1670,12 @@ class RequestsRoute extends React.Component { contentRef={this.searchSlipsPrintContentRef} onBeforeGetContent={() => this.onBeforeGetContentForPrintButton(onToggle)} > - + + + }