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 <jens@goauthentik.io>
This commit is contained in:
Jens L 2023-09-11 14:14:52 +02:00 committed by GitHub
parent f8b690dbec
commit 5ac30c4901
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ export class FlowSearch<T extends Flow> extends CustomListenerElement(AKElement)
selectedFlow?: T; selectedFlow?: T;
get value() { get value() {
return this.selectedFlow ? getFlowValue(this.selectedFlow) : undefined; return this.selectedFlow ? getFlowValue(this.selectedFlow) : null;
} }
constructor() { constructor() {