web/admin: fix inconsistent display of flows in selections (#4977)
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
		| @ -1,3 +1,4 @@ | ||||
| import { RenderFlowOption } from "@goauthentik/admin/flows/utils"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { first } from "@goauthentik/common/utils"; | ||||
| import "@goauthentik/elements/forms/FormGroup"; | ||||
| @ -318,7 +319,7 @@ export class ProxyProviderFormPage extends ModelForm<ProxyProvider, number> { | ||||
|                         return flows.results; | ||||
|                     }} | ||||
|                     .renderElement=${(flow: Flow): string => { | ||||
|                         return flow.slug; | ||||
|                         return RenderFlowOption(flow); | ||||
|                     }} | ||||
|                     .renderDescription=${(flow: Flow): TemplateResult => { | ||||
|                         return html`${flow.name}`; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Jens L
					Jens L