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

Enterprises: UI loading #6987

Open
jsschf opened this issue Jul 30, 2020 · 2 comments
Open

Enterprises: UI loading #6987

jsschf opened this issue Jul 30, 2020 · 2 comments
Assignees

Comments

@jsschf
Copy link
Member

jsschf commented Jul 30, 2020

When you first click on an Enterprise, the "Add member" button and other UI elements load as if the user isn't a member of the enterprise, before the UI changes to what is should be. The elements are only visible for about a half a second.

I'm assuming the page loads before the check to see if the logged in user is a member of an enterprise, and then the UI changes.

@jsschf jsschf changed the title Enterprises: Check if user is a member Enterprises: UI loading Jul 30, 2020
@paulbert
Copy link
Member

We could try initializing the status to a blank string instead of 'unrelated'. The delete button will still show up for admins but the others shouldn't until the status is fetched from the database.

@Haoran-Hu
Copy link
Member

@paulbert I do not see this happen on my end for dev environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants