-
Notifications
You must be signed in to change notification settings - Fork 0
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
List participant on management page #233
List participant on management page #233
Conversation
src/web/components/ParticipantRequests/ApprovedParticipantItem.tsx
Outdated
Show resolved
Hide resolved
src/web/components/ParticipantRequests/ApprovedParticipantsTable.tsx
Outdated
Show resolved
Hide resolved
src/web/components/ParticipantRequests/ApprovedParticipantItem.tsx
Outdated
Show resolved
Hide resolved
Could you please include a screenshot of the new UI :D |
src/web/components/ParticipantRequests/ApprovedParticipantsTable.tsx
Outdated
Show resolved
Hide resolved
src/web/components/ParticipantRequests/ApprovedParticipantsTable.stories.tsx
Outdated
Show resolved
Hide resolved
src/web/components/ParticipantRequests/ApprovedParticipantsTable.stories.tsx
Outdated
Show resolved
Hide resolved
@@ -30,6 +30,7 @@ export function ParticipantRequestsTable({ | |||
}: ParticipantRequestsTableProps) { | |||
return ( | |||
<div className='participant-requests-container'> | |||
<h2>{participantRequests.length} Participants Pending Approval</h2> |
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.
participantTypes={participantTypes} | ||
onApprove={handleApproveParticipantRequest} | ||
/> | ||
<div> |
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.
nit: I'd recommend just using <>
here instead of a <div>
. I think it ends up being a <div>
in the DOM anyway but it reads a bit cleaner. You'd want to use <div>
if it was being used for styling.
Added list of Approved Participants to the management screen.