-
Notifications
You must be signed in to change notification settings - Fork 8
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
Remove user-specific settings from menu #439
Conversation
Don't mind me, you already did! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
on:click={async () => { | ||
await showSettings.set(true); | ||
show = false; | ||
{#if $config?.features?.enable_user_settings_menu || role === 'admin'} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ethangardner @echappen made a minor change here to keep the menu visible to admin users.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I was assuming we didn't want them for admins either, but I should've checked :)
Hides the user-specific settings menu per #264.
Deployment requires a new env var: