-
Notifications
You must be signed in to change notification settings - Fork 6
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
141 warning if volunteer info is missing #160
base: main
Are you sure you want to change the base?
Conversation
🚅 Deployed to the admin-portal-pr-160 environment in Grassroots Grocery Admin Portal
|
@@ -375,7 +473,6 @@ export const VolunteersTable: React.FC<{ | |||
"Participant Type", | |||
"Confirmed", | |||
"Can't Come", | |||
"Past Events", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The recently added "Past Events" column is missing from this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code changes from #157 are removed in this PR. Please merge the latest from main branch into here so that those remain.
Description of this change
Added small warning symbol next to first names if missing any info (i.e any of the scheduledslots types were undefined). Additionally added an export function that keeps count of these warnings. Used this function to add a counter on the top of each event in red
Screenshots (for UI changes - otherwise delete this section)
Before this PR:
After this PR:
(warnings are from changing if statement from if typeof participanType is undefined to if participantType is driver. Pull request will not show any warnings)