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

Change links for three rod licence #2077

Merged
merged 5 commits into from
Nov 19, 2024

Conversation

ScottDormand96
Copy link
Collaborator

https://eaflood.atlassian.net/browse/IWTF-3785

Remove change link for changing length for three rod licences on summary page

https://eaflood.atlassian.net/browse/IWTF-3785

Remove change link for changing length for three rod licences on summary page
@ScottDormand96 ScottDormand96 added the enhancement New feature or request label Nov 13, 2024
)
const args = ['licence_summary_length', this.labels[`licence_type_${this.permission.licenceLength.toLowerCase()}`]]

if (!(this.permission.licenceType === mappings.LICENCE_TYPE['trout-and-coarse'] && this.permission.numberOfRods === '3')) {
Copy link
Member

Choose a reason for hiding this comment

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

Given that there's no 3-rod salmon licence, could we just check the number of rods and ignore the licence type? Slightly simpler.

@ScottDormand96 ScottDormand96 merged commit fa2d8af into develop Nov 19, 2024
3 checks passed
@ScottDormand96 ScottDormand96 deleted the feature/iwtf-3785-change-link-3-rod branch November 19, 2024 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants