diff --git a/apps/admin-ui/src/identity-providers/add/ExtendedNonDiscoverySettings.tsx b/apps/admin-ui/src/identity-providers/add/ExtendedNonDiscoverySettings.tsx index 21fc47eacb..d20fcb9d83 100644 --- a/apps/admin-ui/src/identity-providers/add/ExtendedNonDiscoverySettings.tsx +++ b/apps/admin-ui/src/identity-providers/add/ExtendedNonDiscoverySettings.tsx @@ -16,13 +16,13 @@ import { TextField } from "../component/TextField"; import { FormGroupField } from "../component/FormGroupField"; import { HelpItem } from "../../components/help-enabler/HelpItem"; -const promptOptions = [ - "unspecified", - "none", - "consent", - "login", - "select_account", -]; +const promptOptions = { + unspecified: "", + none: "none", + consent: "consent", + login: "login", + select_account: "select_account", +}; export const ExtendedNonDiscoverySettings = () => { const { t } = useTranslation("identity-providers"); @@ -50,7 +50,7 @@ export const ExtendedNonDiscoverySettings = () => { (