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: AccountMenu component to conditionally render logout button based on autoLogin status #4535

Merged
merged 3 commits into from
Nov 13, 2024

Conversation

anovazzi1
Copy link
Contributor

This pull request refactors the AccountMenu component to conditionally render the logout button based on the autoLogin status. Previously, the logout button was always rendered, but now it will only be rendered if autoLogin is false. This improves the user experience by only showing the logout button when it is relevant.

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Nov 12, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Nov 12, 2024
@github-actions github-actions bot added the bug Something isn't working label Nov 12, 2024
@anovazzi1 anovazzi1 enabled auto-merge (squash) November 12, 2024 18:04
@ogabrielluiz ogabrielluiz merged commit 0abc51d into main Nov 13, 2024
11 of 17 checks passed
@ogabrielluiz ogabrielluiz deleted the hideLogout branch November 13, 2024 03:31
diogocabral pushed a commit to headlinevc/langflow that referenced this pull request Nov 26, 2024
…d on autoLogin status (langflow-ai#4535)

Refactor AccountMenu component to conditionally render logout button based on autoLogin status
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.

4 participants