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-18668] remove delete button in enrollment event pages #3941

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eirikhaugstulen
Copy link
Contributor

Summary:

  • Added readOnlyMode prop to OverflowMenu component
  • Hide the entire overflow menu when readOnlyMode is true and changelog is disabled
  • Hide only the Delete action when readOnlyMode is true but changelog is enabled
  • Verified readOnlyMode settings in DefaultPageLayout files:
    • true for add/edit event pages (to hide Delete)
    • false for enrollment dashboard (to show Delete)

@eirikhaugstulen eirikhaugstulen requested a review from a team as a code owner January 16, 2025 00:34
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