grassrootsgrocery / admin-portal

GNU Affero General Public License v3.0
11 stars 6 forks source link

Page goes blank after clicking on 5/13 event #77

Closed mattsahn closed 1 year ago

mattsahn commented 1 year ago

Right now, in the live app, if you click on 5/13 event, it loads for a bit, then goes totally blank. This doesn't happen when loading the future dates like 5/20 and 5/27. It's just 5/13 right now. Based on below, my guess is that "name" property is not present for the special group and it's not handled so causing this crash.

5/13 link: https://portal.grassrootsgrocery.org/events/recRlRrmGsT8yZrcv

What I see in debugger: image image Looks like this part of code: https://github.com/grassrootsgrocery/admin-portal/blob/b0cb4e91d50ed3b6a533a46a2f14328c5be5cf9b/client/src/pages/ViewEvent/ViewSpecialGroups.tsx#L22-L27

mattsahn commented 1 year ago

This is still happening and i'm marking as urgent since it breaks the app significantly when encountered. Right now the 6/3 date breaks in the same way: https://portal.grassrootsgrocery.org/events/recpmzi0Z1wsM3MXg