mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-10 21:29:20 +00:00
Make button always show and swap to "Join as Admin"
This commit is contained in:
@@ -351,7 +351,6 @@ export const AllProjectView = ({
|
||||
<span>Joined</span>
|
||||
</Badge>
|
||||
) : (
|
||||
<div className="opacity-0 transition-all group-hover:opacity-100">
|
||||
<OrgPermissionCan
|
||||
I={OrgPermissionAdminConsoleAction.AccessAllProjects}
|
||||
an={OrgPermissionSubjects.AdminConsole}
|
||||
@@ -371,7 +370,7 @@ export const AllProjectView = ({
|
||||
orgAdminAccessProject.isPending
|
||||
}
|
||||
>
|
||||
Admin Access
|
||||
Join as Admin
|
||||
</Button>
|
||||
) : (
|
||||
<Button
|
||||
@@ -384,7 +383,6 @@ export const AllProjectView = ({
|
||||
)
|
||||
}
|
||||
</OrgPermissionCan>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user