web/user: fix linting
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
3a80bc8bda
commit
6da78b8c32
|
@ -2,6 +2,7 @@ import { t } from "@lingui/macro";
|
||||||
|
|
||||||
import { CSSResult, LitElement, TemplateResult, html } from "lit";
|
import { CSSResult, LitElement, TemplateResult, html } from "lit";
|
||||||
import { customElement, state } from "lit/decorators";
|
import { customElement, state } from "lit/decorators";
|
||||||
|
import { ifDefined } from "lit/directives/if-defined";
|
||||||
import { until } from "lit/directives/until";
|
import { until } from "lit/directives/until";
|
||||||
|
|
||||||
import AKGlobal from "../../authentik.css";
|
import AKGlobal from "../../authentik.css";
|
||||||
|
@ -96,7 +97,7 @@ export class UserSettingsPage extends LitElement {
|
||||||
).length > 0
|
).length > 0
|
||||||
) {
|
) {
|
||||||
return html`<ak-user-settings-password
|
return html`<ak-user-settings-password
|
||||||
configureUrl=${settings[0].configureUrl}
|
configureUrl=${ifDefined(settings[0].configureUrl)}
|
||||||
></ak-user-settings-password>`;
|
></ak-user-settings-password>`;
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
|
|
Reference in New Issue