web: fix loading text not being loaded (#5497)
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
parent
b0f5c9b010
commit
5ca8eefa8b
|
@ -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()
|
||||
|
|
|
@ -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[] {
|
||||
|
|
Reference in New Issue