We have working tests!!!!!!

This commit is contained in:
Ken Sternberg
2024-10-23 10:50:27 -07:00
parent 4439b298bd
commit f9f849574b
3 changed files with 73 additions and 41 deletions

View File

@ -7,6 +7,7 @@ import { CustomListenerElement } from "@goauthentik/elements/utils/eventEmitter"
import { html } from "lit";
import { property, query } from "lit/decorators.js";
import { ifDefined } from "lit/directives/if-defined.js";
import { FlowsApi, FlowsInstancesListDesignationEnum } from "@goauthentik/api";
import type { Flow, FlowsInstancesListRequest } from "@goauthentik/api";
@ -122,7 +123,7 @@ export class FlowSearch<T extends Flow> extends CustomListenerElement(AKElement)
.renderElement=${renderElement}
.renderDescription=${renderDescription}
.value=${getFlowValue}
.name=${this.name}
name=${ifDefined(this.name)}
@ak-change=${this.handleSearchUpdate}
?blankable=${!this.required}
>