From 89417ce455e1a2b0ccadaaaaf947cf776c0b1fc7 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 8 Feb 2023 00:00:17 +0100 Subject: [PATCH] web: fix token delete form not showing token identifiers Signed-off-by: Jens Langhammer --- web/src/admin/tokens/TokenListPage.ts | 3 +++ web/src/user/user-settings/tokens/UserTokenList.ts | 3 +++ 2 files changed, 6 insertions(+) diff --git a/web/src/admin/tokens/TokenListPage.ts b/web/src/admin/tokens/TokenListPage.ts index 166e3fc42..058ced493 100644 --- a/web/src/admin/tokens/TokenListPage.ts +++ b/web/src/admin/tokens/TokenListPage.ts @@ -77,6 +77,9 @@ export class TokenListPage extends TablePage { return html` { + return [{ key: t`Identifier`, value: item.identifier }]; + }} .usedBy=${(item: Token) => { return new CoreApi(DEFAULT_CONFIG).coreTokensUsedByList({ identifier: item.identifier, diff --git a/web/src/user/user-settings/tokens/UserTokenList.ts b/web/src/user/user-settings/tokens/UserTokenList.ts index 71118b529..d1ecd2969 100644 --- a/web/src/user/user-settings/tokens/UserTokenList.ts +++ b/web/src/user/user-settings/tokens/UserTokenList.ts @@ -134,6 +134,9 @@ export class UserTokenList extends Table { return html` { + return [{ key: t`Identifier`, value: item.identifier }]; + }} .delete=${(item: Token) => { return new CoreApi(DEFAULT_CONFIG).coreTokensDestroy({ identifier: item.identifier,