diff --git a/web/src/admin/providers/proxy/ProxyProviderFormHelpers.ts b/web/src/admin/providers/proxy/ProxyProviderFormHelpers.ts index fa805d7ec4..5cd9807193 100644 --- a/web/src/admin/providers/proxy/ProxyProviderFormHelpers.ts +++ b/web/src/admin/providers/proxy/ProxyProviderFormHelpers.ts @@ -1,5 +1,4 @@ import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; -import { DualSelectPair } from "@goauthentik/elements/ak-dual-select/types.js"; import { PropertymappingsApi, ScopeMapping } from "@goauthentik/api"; @@ -22,11 +21,7 @@ export async function propertyMappingsProvider(page = 1, search = "") { export function propertyMappingsSelector(instanceMappings?: string[]) { if (!instanceMappings) { - return async (mappings: DualSelectPair[]) => - mappings.filter( - ([_0, _1, _2, scope]: DualSelectPair) => - !(scope?.managed ?? "").startsWith("goauthentik.io/providers"), - ); + return async () => []; } return async () => {