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

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() {