We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bc256d commit 396c38fCopy full SHA for 396c38f
1 file changed
apps/sim/ee/access-control/components/access-control.tsx
@@ -1291,9 +1291,11 @@ export function AccessControl() {
1291
)}
1292
{!viewingGroup.isDefault && !membersLoading && (
1293
<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'}.`}
+ {viewingGroup.workspaces.length === 0
+ ? 'Applies to no one yet — add workspaces below to choose who this group governs.'
+ : members.length === 0
1297
+ ? 'Applies to all members of its workspaces, including external members.'
1298
+ : `Restricted to ${members.length} member${members.length === 1 ? '' : 's'}.`}
1299
</p>
1300
1301
</div>
0 commit comments