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 29, 2024
1 parent 1106b2d commit b348118
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 b348118

Please sign in to comment.