web: fix loading text not being loaded (#5497)

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens L 2023-05-05 23:22:32 +03:00 committed by GitHub
parent b0f5c9b010
commit 5ca8eefa8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -1,6 +1,7 @@
import { CSRFHeaderName } from "@goauthentik/common/api/middleware";
import { EVENT_THEME_CHANGE } from "@goauthentik/common/constants";
import { globalAK } from "@goauthentik/common/global";
import { autoDetectLanguage } from "@goauthentik/common/ui/locale";
import { first, getCookie } from "@goauthentik/common/utils";
import { Interface } from "@goauthentik/elements/Base";
import { DefaultTenant } from "@goauthentik/elements/sidebar/SidebarBrand";
@ -12,6 +13,8 @@ import { ifDefined } from "lit/directives/if-defined.js";
import { UiThemeEnum } from "@goauthentik/api";
autoDetectLanguage();
@customElement("ak-api-browser")
export class APIBrowser extends Interface {
@property()

View File

@ -1,4 +1,5 @@
import { globalAK } from "@goauthentik/common/global";
import { autoDetectLanguage } from "@goauthentik/common/ui/locale";
import { Interface } from "@goauthentik/elements/Base";
import { t } from "@lingui/macro";
@ -13,6 +14,8 @@ import PFBase from "@patternfly/patternfly/patternfly-base.css";
import { UiThemeEnum } from "@goauthentik/api";
autoDetectLanguage();
@customElement("ak-loading")
export class Loading extends Interface {
static get styles(): CSSResult[] {