Skip to content

ref(ui): Consolidate TeamBadge #68927

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

Merged
merged 2 commits into from
Apr 15, 2024

Conversation

evanpurkhiser
Copy link
Member

This had an extraneous second component for some reason

@evanpurkhiser evanpurkhiser requested a review from a team April 15, 2024 19:35
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Apr 15, 2024
Comment on lines +18 to +21
const {teams} = useLegacyStore(TeamStore);

// Get the most up-to-date team from the store
const resolvedTeam = teams.find(t => t.id === team.id) ?? team;
Copy link
Member

Choose a reason for hiding this comment

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

if teams is of type Team there's no point in all this since we have team: Team passed in

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 idk, I didn't want to touch this part

This had an extraneous second component for some reason
@evanpurkhiser evanpurkhiser force-pushed the evanpurkhiser/ref-ui-consolidate-teambadge branch from 44ef437 to 1b2e62e Compare April 15, 2024 20:12
@evanpurkhiser evanpurkhiser merged commit 9767d7f into master Apr 15, 2024
@evanpurkhiser evanpurkhiser deleted the evanpurkhiser/ref-ui-consolidate-teambadge branch April 15, 2024 21:29
@github-actions github-actions bot locked and limited conversation to collaborators May 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants