Skip to content

Conversation

@hugo07E8
Copy link
Contributor

@hugo07E8 hugo07E8 commented Jun 30, 2025

  • Remove length from isEmpty. This made the code enter a condition that removed all the options and set a plain "0".
  • Update unit tests.

@hugo07E8 hugo07E8 marked this pull request as draft June 30, 2025 20:30
Copy link
Collaborator

@doneill doneill left a comment

Choose a reason for hiding this comment

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

I think this can be moved out of draft as the fix is required to ensure we don't use isEmpty() on length property

@hugo07E8 hugo07E8 self-assigned this Jul 2, 2025
@hugo07E8 hugo07E8 marked this pull request as ready for review July 2, 2025 20:41
Copy link
Collaborator

@doneill doneill left a comment

Choose a reason for hiding this comment

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

Looks good, nice work 👍

@doneill doneill added B - Ready To Merge PR is ready to be merged and removed B - Waiting for review labels Jul 8, 2025
@hugo07E8 hugo07E8 merged commit e0d614d into develop Jul 8, 2025
2 checks passed
@doneill doneill deleted the bug/EM-1799-fix-inactive-enum-choices branch July 16, 2025 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

B - Ready To Merge PR is ready to be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants