Skip to content

Commit

Permalink
Merge pull request #866 from folio-org/UIU-1065
Browse files Browse the repository at this point in the history
Refetch loans when the ChangeDueDateDialog is reopened. Part of UIU-1065
  • Loading branch information
mkuklis authored Jun 11, 2019
2 parents fc0ad21 + 8a01f4f commit f6dbfe6
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions src/components/Loans/OpenLoans/components/Modals/Modals.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,15 @@ class Modals extends React.Component {

return (
<React.Fragment>
<this.connectedChangeDueDateDialog
user={user}
stripes={stripes}
loanIds={loanIds}
open={changeDueDateDialogOpen}
onClose={hideChangeDueDateDialog}
/>
{changeDueDateDialogOpen &&
<this.connectedChangeDueDateDialog
user={user}
stripes={stripes}
loanIds={loanIds}
open={changeDueDateDialogOpen}
onClose={hideChangeDueDateDialog}
/>
}
<PatronBlockModal
open={patronBlockedModal}
patronBlocks={patronBlocks}
Expand Down

0 comments on commit f6dbfe6

Please sign in to comment.