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

refactor(SiteHeader): Hide logout button in guest mode #1161

Merged
merged 1 commit into from
Mar 22, 2025

Conversation

choizhang
Copy link
Contributor

Description

Hide logout button in guest mode
In guest mode, the logout button should not be displayed to avoid confusion and misoperation. By adding conditional rendering, ensure that the logout button is only displayed in non guest mode.

Checklist

  • Changes tested locally
  • Code reviewed
  • Documentation updated (if necessary)
  • Unit tests added (if applicable)

@danielaskdd danielaskdd added the ui web ui label Mar 22, 2025
@danielaskdd danielaskdd merged commit f466601 into HKUDS:main Mar 22, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ui web ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants