Fix the small mechanical rules. [skip build]
This commit is contained in:
1 parent
bb85cd9778
commit
73554ecf7f
45 files changed
+331
-347
No files matched your search
@@ -367,10 +367,8 @@ export function Permissions({ requestClose }: PermissionsProps) {
|
||||
have permission.
|
||||
<Text as="span" style={{ color: color.Warning.Main }}>
|
||||
{' '}
|
||||
You don't have permission to edit {
|
||||
nonSyncableChildren.length
|
||||
} other{' '}
|
||||
{nonSyncableChildren.length === 1 ? 'space/room' : 'spaces/rooms'}
|
||||
You don't have permission to edit {nonSyncableChildren.length}{' '}
|
||||
other {nonSyncableChildren.length === 1 ? 'space/room' : 'spaces/rooms'}
|
||||
{nonSyncableChildren.length <= 5 && (
|
||||
<>: {nonSyncableChildren.map((c) => c.name).join(', ')}</>
|
||||
)}
|
||||
|
||||
Reference in new issue
Block a user