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 check to show switch view button only when admin #314

Merged
merged 1 commit into from
Oct 8, 2020

Conversation

GabriFila
Copy link
Contributor

Description

This PR fixes a bug inserted by an old PR of mine. Don't know why but I removed the check to show the switch view button only when the user is also admin.

I also changed to tooltip text depending on the current view

How Has This Been Tested?

It has been tested by logging with 2 different users and checking the presence of the button.

Copy link
Member

@giorio94 giorio94 left a comment

Choose a reason for hiding this comment

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

/lgtm

@frisso frisso merged commit a28468b into master Oct 8, 2020
@frisso frisso deleted the gbf/fix_prof_btn branch October 8, 2020 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working sig/ui size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants