Skip to content
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

ref(js): Remove usage of organization.projects from SidebarOrgSummary #28705

Conversation

evanpurkhiser
Copy link
Member

No description provided.

const fullOrg = organization as Organization;
const projects = fullOrg.projects && fullOrg.projects.length;
// Extra may be used to add additional details under the organization name.
// This is currently unused.
Copy link
Contributor

Choose a reason for hiding this comment

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

i guess if its currently unused should we just remove it entirely?

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah sgtm

@evanpurkhiser evanpurkhiser force-pushed the evanpurkhiser/ref-js-remove-usage-of-organization-projectts-from-sidebarorgsummary branch from 85a9b1f to 09cdde6 Compare September 21, 2021 20:45
@evanpurkhiser evanpurkhiser changed the title ref(js): Remove usage of organization.projectts from SidebarOrgSummary ref(js): Remove usage of organization.projects from SidebarOrgSummary Sep 21, 2021
@evanpurkhiser evanpurkhiser force-pushed the evanpurkhiser/ref-js-remove-usage-of-organization-projectts-from-sidebarorgsummary branch from 09cdde6 to 7d2fcaf Compare September 21, 2021 23:02

const OrgSummary = styled('div')`
display: flex;
padding: 10px 15px;
display: grid;
Copy link
Contributor

Choose a reason for hiding this comment

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

ooh nice clean up here

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah basically just rewrote it all lol

@evanpurkhiser evanpurkhiser merged commit c031013 into master Sep 22, 2021
@evanpurkhiser evanpurkhiser deleted the evanpurkhiser/ref-js-remove-usage-of-organization-projectts-from-sidebarorgsummary branch September 22, 2021 04:32
@github-actions github-actions bot locked and limited conversation to collaborators Oct 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants