Skip to content

Commit

Permalink
feat: update notice box display logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Chisomchima committed May 7, 2024
1 parent 619186d commit 6870615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/GroupDetails/GroupDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const GroupDetails = ({ groupId }) => {

return (
<Details title={group.displayName}>
{group.access.read && (
{!group?.access?.write && (
<NoticeBox warn>
{i18n.t('You do not have access to edit this user group')}
</NoticeBox>
Expand Down

0 comments on commit 6870615

Please sign in to comment.