From 8cfd9ba5aa6a167e78e22081982c8d691ec63ba8 Mon Sep 17 00:00:00 2001 From: Pedro Igor Date: Wed, 18 Oct 2023 07:33:52 -0300 Subject: [PATCH] Do not show empty annotation when creating attribute group (#23922) Closes #23789 --- .../src/realm-settings/user-profile/AttributesGroupForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/apps/admin-ui/src/realm-settings/user-profile/AttributesGroupForm.tsx b/js/apps/admin-ui/src/realm-settings/user-profile/AttributesGroupForm.tsx index 7d1d4fe93e..fc07a683e9 100644 --- a/js/apps/admin-ui/src/realm-settings/user-profile/AttributesGroupForm.tsx +++ b/js/apps/admin-ui/src/realm-settings/user-profile/AttributesGroupForm.tsx @@ -48,7 +48,7 @@ type FormFields = Required> & { }; const defaultValues: FormFields = { - annotations: [{ key: "", value: "" }], + annotations: [], displayDescription: "", displayHeader: "", name: "",