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/interest period #809

Merged
merged 3 commits into from
Jan 3, 2024
Merged

Fix/interest period #809

merged 3 commits into from
Jan 3, 2024

Conversation

Adamik10
Copy link
Contributor

Link to issue

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

Description

This PR fixes various bugs experienced in the reservation flow when changing interest period.

  • default value was inconsistent
  • switching between interest periods wasn't mirrored properly

Screenshot of the result

n/a

Additional comments or questions

n/a

To be consistent all places, we use this default interest period. Plus
default interest period on the patron isn't adjustable anywhere in the
project.
We were experiencing problems with default values in dropdowns, because
when comparing two values, although they were same, they were not of the
same type (string/number), which cause buggy behavior.
Copy link
Contributor

@spaceo spaceo left a comment

Choose a reason for hiding this comment

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

II have one question

src/components/reservation/UserListItems.tsx Outdated Show resolved Hide resolved
@Adamik10 Adamik10 requested a review from spaceo January 2, 2024 12:25
Copy link
Contributor

@spaceo spaceo left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@spaceo spaceo removed their assignment Jan 3, 2024
@Adamik10 Adamik10 merged commit befce1a into release/2024-1-0 Jan 3, 2024
16 checks passed
@Adamik10 Adamik10 deleted the fix/interest-period branch January 3, 2024 12:11
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.

3 participants