chore(groups): Enable updating groups without roles or providers (#6498)

This commit is contained in:
Pablo Lara
2025-01-14 11:16:13 +01:00
committed by GitHub
parent 1108d90768
commit a65ca72177
4 changed files with 27 additions and 20 deletions
@@ -112,10 +112,6 @@ export const AddGroupForm = ({
onSubmit={form.handleSubmit(onSubmitClient)}
className="flex flex-col space-y-4"
>
{/* Name Field */}
<p className="text-small font-bold text-default-700">
Provide a name for the group:
</p>
<div className="flex flex-col gap-2">
<CustomInput
control={form.control}
@@ -153,7 +149,7 @@ export const AddGroupForm = ({
)}
<Divider orientation="horizontal" className="mb-2" />
<p className="text-small font-medium text-default-700">
<p className="text-small text-default-500">
Roles can also be associated with the group. This step is optional and
can be completed later if needed or from the Roles page.
</p>
@@ -142,10 +142,6 @@ export const EditGroupForm = ({
onSubmit={form.handleSubmit(onSubmitClient)}
className="flex flex-col space-y-4"
>
<p className="text-small font-bold text-default-700">
Edit the group name or associated providers:
</p>
{/* Field for the name */}
<div className="flex flex-col gap-2">
<CustomInput
@@ -199,7 +195,7 @@ export const EditGroupForm = ({
)}
<Divider orientation="horizontal" className="mb-2" />
<p className="text-small font-medium text-default-700">
<p className="text-small text-default-500">
The roles associated with the group can be edited directly here or
from the Roles page.
</p>