Skip to content

Commit

Permalink
fix: condition affichage alerte liste des membres
Browse files Browse the repository at this point in the history
  • Loading branch information
slafayIGN committed Nov 28, 2024
1 parent 1c3602a commit 8126ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/entrepot/pages/communities/CommunityMembers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ const CommunityMembers: FC<CommunityMembersProps> = ({ communityId, userId }) =>
)}
</>
)}
{isAuthorized === false && (
{isLoadingCommunity === false && isAuthorized === false && (
<Alert className={fr.cx("fr-mb-2w")} title={tCommon("information")} closable description={t("no_necessary_rights")} severity={"info"} />
)}
<AddMember communityId={communityId} communityMemberIds={communityMemberIds} userId={userId} />
Expand Down

0 comments on commit 8126ba8

Please sign in to comment.