Do not show empty annotation when creating attribute group (#23922)

Closes #23789
This commit is contained in:
Pedro Igor 2023-10-18 07:33:52 -03:00 committed by GitHub
parent 8f1234881d
commit 8cfd9ba5aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,7 +48,7 @@ type FormFields = Required<Omit<UserProfileGroup, "annotations">> & {
}; };
const defaultValues: FormFields = { const defaultValues: FormFields = {
annotations: [{ key: "", value: "" }], annotations: [],
displayDescription: "", displayDescription: "",
displayHeader: "", displayHeader: "",
name: "", name: "",