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

Hotfix/productions bugs #719

Merged
merged 4 commits into from
Jan 14, 2025
Merged

Hotfix/productions bugs #719

merged 4 commits into from
Jan 14, 2025

Conversation

jhagberg
Copy link
Collaborator

Some javascript bugs and a Manager bug

…handling

- Enhanced the user role checks to ensure that the genebank ID is properly validated before access control is applied.
- Introduced error handling for invalid genebank IDs, providing clearer feedback for users when input is incorrect.
- This change aims to improve the robustness of the add_herd function and enhance the overall user experience by preventing unauthorized access and guiding users with appropriate error messages.
- Updated the condition for comparing litter sizes to use Number() for proper numeric evaluation.
- This change prevents potential issues with string comparisons and enhances the validation logic in the BreedingForm component, improving user feedback regarding litter size constraints.
…onents to ensure proper numeric evaluation

- Updated conditions to use Number() for comparing litter sizes, preventing potential issues with string comparisons.
- This change enhances validation logic and improves user feedback regarding litter size constraints, ensuring accurate data handling in both components.
… numeric evaluation

- Updated litter size comparison to use Number() for accurate numeric evaluation, preventing issues with string comparisons.
- This change enhances validation logic and improves user feedback regarding litter size constraints, ensuring accurate data handling in the IndividualBreedingForm component.
@jhagberg jhagberg merged commit c2a0ede into production Jan 14, 2025
1 of 3 checks passed
@jhagberg jhagberg deleted the hotfix/productions-bugs branch January 14, 2025 13:57
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.

1 participant