From a08f1e550d02b8e55e5ab143e4da3cb68c425c5e Mon Sep 17 00:00:00 2001 From: simoncolincap Date: Wed, 11 Sep 2024 14:05:59 +0000 Subject: [PATCH] DBP-830 Fix whitespace --- .../admin/roles/forms/EditRoleForm.jsx | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/app/javascript/components/admin/roles/forms/EditRoleForm.jsx b/app/javascript/components/admin/roles/forms/EditRoleForm.jsx index 43149820ca..1fb4d99c78 100644 --- a/app/javascript/components/admin/roles/forms/EditRoleForm.jsx +++ b/app/javascript/components/admin/roles/forms/EditRoleForm.jsx @@ -68,7 +68,7 @@ export default function EditRoleForm({ role }) { { isLoadingRoomConfigs || isLoading ? ( - // eslint-disable-next-line react/no-array-index-key + // eslint-disable-next-line react/no-array-index-key [...Array(9)].map((val, idx) => ) ) : ( @@ -83,12 +83,12 @@ export default function EditRoleForm({ role }) { defaultValue={rolePermissions?.CreateRoom === 'true'} /> {['optional', 'default_enabled'].includes(roomConfigs?.record) && ( - + )} {/* Don't show ManageRoles if current_user is editing their own role */} {(currentUser.role.id !== role?.id) && ( - + )}