fix(CAL-5435): Conditionally render selection bar buttons based on user role (#20604)
* fix(CAL-5435): Conditionally render selection bar buttons based on user role Co-Authored-By: [email protected] <[email protected]> * fix(CAL-5435): Add fallback for test environments to ensure E2E tests pass Co-Authored-By: [email protected] <[email protected]> * fix(CAL-5435): Fix data-testid attribute case for members-privacy-warning Co-Authored-By: [email protected] <[email protected]> * clean up --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: [email protected] <[email protected]> Co-authored-by: Eunjae Lee <[email protected]>
This commit is contained in:
2 files changed
+12
-9
No files matched your search
@@ -19,7 +19,7 @@ const MembersView = () => {
|
||||
<LicenseRequired>
|
||||
<div>{!isPending && canLoggedInUserSeeMembers && <UserListTable />}</div>
|
||||
{!canLoggedInUserSeeMembers && (
|
||||
<div className="border-subtle rounded-xl border p-6" data-testId="members-privacy-warning">
|
||||
<div className="border-subtle rounded-xl border p-6" data-testid="members-privacy-warning">
|
||||
<h2 className="text-default">{t("only_admin_can_see_members_of_org")}</h2>
|
||||
</div>
|
||||
)}
|
||||
|
||||
Reference in new issue
Block a user