Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/stacked card click #689

Conversation

Adamik10
Copy link
Contributor

Link to issue

https://reload.atlassian.net/browse/DDFLSBP-280

Description

This PR fixes an issue where on the loan list, when clicking on a stacked loans card, only the first material would open in a modal. Now We open group modal.

Screenshot of the result

n/a

Additional comments or questions

n/a

Copy link
Contributor

@JacobArrow JacobArrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have some minor thoughts

openDueDateModal={() =>
openDueDateModal && dueDate && openDueDateModal(dueDate)
}
openDueDateModal={() => handleOpenDueDateModal()}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change to openDueDateModal={handleOpenDueDateModal} here and below

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What difference does it make @JacobArrow ?

Copy link
Contributor

@JacobArrow JacobArrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job! Now it is also much easier to understand whats going on.
I had some small thoughts for following best practices :)

@Adamik10 Adamik10 changed the base branch from develop to demo_2023-48-0 November 20, 2023 11:08
@Adamik10 Adamik10 merged commit a0fcf4f into danskernesdigitalebibliotek:demo_2023-48-0 Nov 20, 2023
9 of 10 checks passed
@Adamik10 Adamik10 deleted the fix/stacked-card-click branch November 20, 2023 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants