web/flows: fix rendering of help text on prompt stages
closes #2310 Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
61f7db314a
commit
fb60cefb72
|
@ -1,4 +1,4 @@
|
|||
import { CSSResult, LitElement, css } from "lit";
|
||||
import { CSSResult, LitElement } from "lit";
|
||||
import { TemplateResult, html } from "lit";
|
||||
import { customElement, property } from "lit/decorators.js";
|
||||
|
||||
|
@ -10,18 +10,7 @@ import { ErrorDetail } from "@goauthentik/api";
|
|||
@customElement("ak-form-element")
|
||||
export class FormElement extends LitElement {
|
||||
static get styles(): CSSResult[] {
|
||||
return [
|
||||
PFForm,
|
||||
PFFormControl,
|
||||
css`
|
||||
slot {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-around;
|
||||
}
|
||||
`,
|
||||
];
|
||||
return [PFForm, PFFormControl];
|
||||
}
|
||||
|
||||
@property()
|
||||
|
|
|
@ -214,7 +214,9 @@ export class PolicyBindingForm extends ModelForm<PolicyBinding, string> {
|
|||
if (query !== undefined) {
|
||||
args.search = query;
|
||||
}
|
||||
const groups = await new CoreApi(DEFAULT_CONFIG).coreGroupsList(args);
|
||||
const groups = await new CoreApi(DEFAULT_CONFIG).coreGroupsList(
|
||||
args,
|
||||
);
|
||||
return groups.results;
|
||||
}}
|
||||
.renderElement=${(group: Group): string => {
|
||||
|
|
Reference in New Issue