Skip to content

Commit

Permalink
UIREQ-1145 - refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
manvendra-s-rathore committed Sep 27, 2024
1 parent 98e9fd4 commit d24b71a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/RequestsRoute.js
Original file line number Diff line number Diff line change
Expand Up @@ -1557,9 +1557,9 @@ class RequestsRoute extends React.Component {
}
onAfterPrint={() => {
if (isViewPrintDetailsEnabled) {
if (selectedRows && this.props.mutator.resultOffset) {
this.setState({ selectedRows: {} });
if (selectedRows && mutator.resultOffset) {
mutator.resultOffset.replace(0);
this.setState({ selectedRows: {} });
}
}
}}
Expand Down

0 comments on commit d24b71a

Please sign in to comment.