Skip to content

Conversation

@AnilKumar3494
Copy link
Member

Current and Past Contributors fetching and rendering updated

Same as: #689

<Stack direction="row">
<Typography component="span" variant="subtitle2">
{contributorToCircleName(contributor)}
{contributor.convener ? ', Convener' : ''}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add the convener back here

if (next.is_active) {
prev.current.push(next);
} else {
} else if (next.is_contributor === 'checked') {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once the is_contributor is changed to a boolean field, let's make this a filter when we query Supabase instead of doing this filtering at the frontend, so that Supabase only returns contributors in the first place

@@ -1,16 +1,13 @@
export type Contributor = {
civic_member: boolean;
convener: boolean;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make sure to add is_convener back once it's populated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants