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 crash on event administrate page #3803

Merged
merged 2 commits into from Apr 17, 2023
Merged

Fix crash on event administrate page #3803

merged 2 commits into from Apr 17, 2023

Conversation

eikhr
Copy link
Member

@eikhr eikhr commented Apr 17, 2023

Description

So I changed the RouteWrapper-component to not pass down extra props from itself to the route-component in #3706. Turns out the event-administrate route was relying on this behaivour to pass the event and pools down to the different pages. I fixed it by making it pass down the props through the passedProps-prop instead.

I also fixed a small bug on the group-permission page where it used a css-class that did not exist, causing a crash.

Result

Two pages that used to crash immidiately, now don't!

Testing

  • I have thoroughly tested my changes.

Opened the pages and verified that they no longer crash.


Resolves ABA-399

@linear
Copy link

linear bot commented Apr 17, 2023

ABA-399 Fix event-administrate in staging

I accidentally broke it in #3706

@github-actions github-actions bot added the review-needed Pull requests that need review label Apr 17, 2023
@ivarnakken ivarnakken added priority:high Pull requests that have high priority, and should therefore be prioritized bug-fix Pull requests that fix a bug labels Apr 17, 2023
@ivarnakken ivarnakken added approved Pull requests that have been approved and removed review-needed Pull requests that need review labels Apr 17, 2023
@LudvigHz LudvigHz merged commit 80992be into master Apr 17, 2023
4 checks passed
@LudvigHz LudvigHz deleted the fix-event-admin branch April 17, 2023 19:28
@eikhr eikhr mentioned this pull request Apr 23, 2023
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Pull requests that have been approved bug-fix Pull requests that fix a bug priority:high Pull requests that have high priority, and should therefore be prioritized
Projects
None yet
3 participants