From 5ac30c4901fd8fef79a57628b41eab14346d0f99 Mon Sep 17 00:00:00 2001 From: Jens L Date: Mon, 11 Sep 2023 14:14:52 +0200 Subject: [PATCH] web/admin: fix flow-search not being able to unset (#6838) similar to https://github.com/goauthentik/authentik/pull/6767 Signed-off-by: Jens Langhammer --- web/src/admin/common/ak-flow-search/FlowSearch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/admin/common/ak-flow-search/FlowSearch.ts b/web/src/admin/common/ak-flow-search/FlowSearch.ts index b19a8e4cf..e6e18ad3a 100644 --- a/web/src/admin/common/ak-flow-search/FlowSearch.ts +++ b/web/src/admin/common/ak-flow-search/FlowSearch.ts @@ -66,7 +66,7 @@ export class FlowSearch extends CustomListenerElement(AKElement) selectedFlow?: T; get value() { - return this.selectedFlow ? getFlowValue(this.selectedFlow) : undefined; + return this.selectedFlow ? getFlowValue(this.selectedFlow) : null; } constructor() {