diff --git a/web/roles/create-roles-modal.react.js b/web/roles/create-roles-modal.react.js --- a/web/roles/create-roles-modal.react.js +++ b/web/roles/create-roles-modal.react.js @@ -53,6 +53,7 @@ const { pushModal, popModal } = useModalContext(); const { threadInfo, action, existingRoleID, roleName, rolePermissions } = props; + const modalName = action === 'create_role' ? 'Create role' : 'Edit role'; const callModifyCommunityRole = useServerCall(modifyCommunityRole); const dispatchActionPromise = useDispatchActionPromise(); @@ -247,9 +248,9 @@ }, [createRolesLoadingStatus, createButtonText]); return ( - +
-
Role Name
+
Role name