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

feat: hide elections on blocklist #173

Merged
merged 2 commits into from
Jul 10, 2024
Merged

feat: hide elections on blocklist #173

merged 2 commits into from
Jul 10, 2024

Conversation

PascalinDe
Copy link
Member

@PascalinDe PascalinDe commented Jul 9, 2024

This pull requests allows the administrator to provide a comma-separated list of elections to hide from non-admin users in the GUI.

Tested:

  • with empty list
  • one element
  • two elements

@PascalinDe PascalinDe requested a review from ineiti July 9, 2024 15:47
@PascalinDe PascalinDe self-assigned this Jul 9, 2024
Copy link
Member

@ineiti ineiti left a comment

Choose a reason for hiding this comment

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

Tested it locally and it works - when I login as non-admin :)

Just some cosmetic changes. Feel free to ignore and merge as-is.

web/frontend/src/pages/form/components/FormRow.tsx Outdated Show resolved Hide resolved
web/frontend/src/pages/form/components/FormRow.tsx Outdated Show resolved Hide resolved
@PascalinDe PascalinDe merged commit db54223 into main Jul 10, 2024
11 checks passed
@PascalinDe PascalinDe deleted the hide-elections branch July 10, 2024 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants