Fix event pages when user is not logged in

Closes no issue

Previous behaviour

Steps to reproduce:

  1. Create an event
  2. Go to the event without being logged in
  3. Crash

New behaviour

Steps to validate that it works:

  1. Create an event
  2. Go to the event without being logged in
  3. No crash

Merge request reports

Loading