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:
parent
f8b690dbec
commit
5ac30c4901
|
@ -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() {
|
||||||
|
|
Reference in a new issue