web/admin: fix comment being rendered (#13530)
* web/admin: fix comment being rendered Signed-off-by: Jens Langhammer <jens@goauthentik.io> * format Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
@ -142,12 +142,13 @@ export abstract class AdminStatusCard<T> extends AggregateCard {
|
|||||||
renderInner(): TemplateResult {
|
renderInner(): TemplateResult {
|
||||||
return html`
|
return html`
|
||||||
<p class="center-value">
|
<p class="center-value">
|
||||||
${this.status
|
${
|
||||||
? this.renderStatus(this.status) // Status available
|
this.status
|
||||||
: this.error
|
? this.renderStatus(this.status) // Status available
|
||||||
? this.renderError(this.error) // Error state
|
: this.error
|
||||||
: this.renderLoading()}
|
? this.renderError(this.error) // Error state
|
||||||
// Loading state
|
: this.renderLoading() // Loading state
|
||||||
|
}
|
||||||
</p>
|
</p>
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user