Open jsschf opened 4 years ago
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.
@paulbert I do not see this happen on my end for dev environment.
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.