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: [DHIS2-17101] Consider prevent adding events to stage program rule #3706

Conversation

henrikmv
Copy link
Contributor

@henrikmv henrikmv commented Jul 5, 2024

DHIS2-17101

  • Added logic using useSelector to check if program stage is hidden.
  • Added if (isProgramStageHidden) { return false } to disable related stage options if program rule exist

@henrikmv henrikmv marked this pull request as ready for review July 5, 2024 15:21
@henrikmv henrikmv requested a review from a team as a code owner July 5, 2024 15:21
…ntAddingEventsToStageProgramRule' into hv/fix/DHIS2-17101_ConsiderPreventAddingEventsToStageProgramRule
Copy link

…ConsiderPreventAddingEventsToStageProgramRule
Copy link

@geethaalwan geethaalwan left a comment

Choose a reason for hiding this comment

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

Tested successfully on 2.42,2.41.1 ,2.40.5,2.39.7 versions

…ConsiderPreventAddingEventsToStageProgramRule
@henrikmv henrikmv merged commit 47ed42c into master Aug 15, 2024
38 checks passed
@henrikmv henrikmv deleted the hv/fix/DHIS2-17101_ConsiderPreventAddingEventsToStageProgramRule branch August 15, 2024 10:25
dhis2-bot added a commit that referenced this pull request Aug 15, 2024
## [101.1.2](v101.1.1...v101.1.2) (2024-08-15)

### Bug Fixes

* [DHIS2-17101] Consider prevent adding events to stage program rule ([#3706](#3706)) ([47ed42c](47ed42c))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 101.1.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants