From 561bd65b4a55c947c9a891d16353d30c6049da49 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Mon, 10 Jul 2023 09:55:07 +0200 Subject: [PATCH] convert form will flatten the value (#21478) fixes: #21234 --- js/apps/admin-ui/src/user-federation/shared/Header.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/apps/admin-ui/src/user-federation/shared/Header.tsx b/js/apps/admin-ui/src/user-federation/shared/Header.tsx index c0f75e891e..50e37b9f80 100644 --- a/js/apps/admin-ui/src/user-federation/shared/Header.tsx +++ b/js/apps/admin-ui/src/user-federation/shared/Header.tsx @@ -94,7 +94,7 @@ export const Header = ({ {t("deleteProvider")} , ]} - isEnabled={field.value?.[0] === "true"} + isEnabled={field.value?.[0] === "true" || field.value === "true"} onToggle={(value) => { if (!value) { toggleDisableDialog();