From e5cfddfc57cf70ef450fb87e50a45300e4a24070 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 21 Dec 2022 20:25:42 +0100 Subject: [PATCH] web: fix linting Signed-off-by: Jens Langhammer --- web/src/admin/crypto/CertificateKeyPairListPage.ts | 4 +++- web/src/admin/tokens/TokenListPage.ts | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/web/src/admin/crypto/CertificateKeyPairListPage.ts b/web/src/admin/crypto/CertificateKeyPairListPage.ts index 86dbf0237..ad0f066a1 100644 --- a/web/src/admin/crypto/CertificateKeyPairListPage.ts +++ b/web/src/admin/crypto/CertificateKeyPairListPage.ts @@ -101,7 +101,9 @@ export class CertificateKeyPairListPage extends TablePage { html` ${item.privateKeyAvailable ? t`Yes (${item.privateKeyType?.toUpperCase()})` : t`No`} `, - html` new Date() ? PFColor.Green : PFColor.Orange}> + html` new Date() ? PFColor.Green : PFColor.Orange} + > ${item.certExpiry?.toLocaleString()} `, html` diff --git a/web/src/admin/tokens/TokenListPage.ts b/web/src/admin/tokens/TokenListPage.ts index f5252d27d..2476dc2f1 100644 --- a/web/src/admin/tokens/TokenListPage.ts +++ b/web/src/admin/tokens/TokenListPage.ts @@ -106,7 +106,9 @@ export class TokenListPage extends TablePage { row(item: Token): TemplateResult[] { return [ html`
${item.identifier}
- ${item.managed ? html`${t`Token is managed by authentik.`}` : html``}`, + ${item.managed + ? html`${t`Token is managed by authentik.`}` + : html``}`, html`${item.userObj?.username}`, html` ${item.expiring ? t`Yes` : t`No`}