Skip to content

Commit

Permalink
Open group modal when clicking on stacked loans card in loan list
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamik10 committed Nov 17, 2023
1 parent 61eb286 commit 9427696
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const StackableMaterial: FC<StackableMaterialProps & MaterialProps> = ({
"list-reservation--stacked": additionalMaterials > 0
})}
role="button"
onClick={() => openLoanDetailsModalHandler()}
onClick={() => openDueDateModal && dueDate && openDueDateModal(dueDate)}
onKeyUp={(e) => {
if (e.key === "Enter" || e.key === "Space") {
openLoanDetailsModalHandler();
Expand Down

0 comments on commit 9427696

Please sign in to comment.