some Fixes, see #45
This commit is contained in:
@@ -177,9 +177,13 @@ export const ProfileForm: React.FC<ProfileFormProps> = ({ user }: ProfileFormPro
|
||||
type="button"
|
||||
className="btn btn-sm btn-outline"
|
||||
onClick={() =>
|
||||
form.setValue("permissions", ["LOGIN_NEXTCLOUD", "PILOT", "DISPO", "AUDIO"], {
|
||||
shouldDirty: true,
|
||||
})
|
||||
form.setValue(
|
||||
"permissions",
|
||||
["LOGIN_NEXTCLOUD", "PILOT", "DISPO", "AUDIO", "ADMIN_EVENT"],
|
||||
{
|
||||
shouldDirty: true,
|
||||
},
|
||||
)
|
||||
}
|
||||
onSubmit={() => false}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user