-
- ${ThemedImage({
- src: this.brandingLogo,
- alt: msg("authentik Logo"),
- className: "branding-logo",
- theme: this.activeTheme,
- themedUrls: this.brandingLogoThemedUrls,
- })}
-
- ${loading && challenge ? html`` : nothing}
- ${guard([challenge], () => {
- return challenge?.component
- ? until(this.renderChallenge(challenge))
- : this.renderLoading();
- })}
-
- ${this.renderFooter()}`;
+ const { challenge } = this;
+ return guard([challenge], () =>
+ challenge?.component
+ ? until(this.renderChallenge(challenge), this.renderPlaceholder())
+ : this.renderPlaceholder(),
+ );
}
//#endregion
+
+ public override firstUpdated(changed: PropertyValues