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)
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)