Skip to content

Commit 396c38f

Browse files
committed
improve copy
1 parent 2bc256d commit 396c38f

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

apps/sim/ee/access-control/components/access-control.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1291,9 +1291,11 @@ export function AccessControl() {
12911291
)}
12921292
{!viewingGroup.isDefault && !membersLoading && (
12931293
<p className='text-[var(--text-muted)] text-md'>
1294-
{members.length === 0
1295-
? 'Applies to all members of its workspaces, including external members.'
1296-
: `Restricted to ${members.length} member${members.length === 1 ? '' : 's'}.`}
1294+
{viewingGroup.workspaces.length === 0
1295+
? 'Applies to no one yet — add workspaces below to choose who this group governs.'
1296+
: members.length === 0
1297+
? 'Applies to all members of its workspaces, including external members.'
1298+
: `Restricted to ${members.length} member${members.length === 1 ? '' : 's'}.`}
12971299
</p>
12981300
)}
12991301
</div>

0 commit comments

Comments
 (0)