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

fix: Update header button variant based on the active route (#4207) #4214

Merged
merged 2 commits into from
Oct 21, 2024

Conversation

viniciossilva3
Copy link
Contributor

  • Added logic to change the My Collection button variant to "primary" or "secondary" in the header based on the current pathname, including the "/flows" route.

Before:

image

After:

image

…-ai#4207)

- Added logic to change button variant to "primary" or "secondary"
  based on the current pathname, including the "/flows" route.

Co-authored-by: Vinícios Batista da Silva <[email protected]>
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Oct 20, 2024
@github-actions github-actions bot added the bug Something isn't working label Oct 20, 2024
Copy link
Collaborator

@mfortman11 mfortman11 left a comment

Choose a reason for hiding this comment

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

LGTM

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Oct 21, 2024
@mfortman11 mfortman11 merged commit 48b80e1 into langflow-ai:main Oct 21, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants