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 Jens Langhammer
parent dd18f9cd30
commit 67bd622aa4
No known key found for this signature in database
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;
get value() {
return this.selectedFlow ? getFlowValue(this.selectedFlow) : undefined;
return this.selectedFlow ? getFlowValue(this.selectedFlow) : null;
}
constructor() {