From 3941590d0cf788f59cc2f5699869f8b97a2eca04 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 2 Mar 2021 21:16:14 +0100 Subject: [PATCH] web: fix missing create buttons on user token list --- web/src/pages/tokens/UserTokenList.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/web/src/pages/tokens/UserTokenList.ts b/web/src/pages/tokens/UserTokenList.ts index cc8a3355f..9d4f41d97 100644 --- a/web/src/pages/tokens/UserTokenList.ts +++ b/web/src/pages/tokens/UserTokenList.ts @@ -37,6 +37,18 @@ export class UserTokenList extends Table { ]; } + renderToolbar(): TemplateResult { + return html` + + + ${gettext("Create")} + +
+
+ ${super.renderToolbar()} + `; + } + row(item: Token): TemplateResult[] { return [ html`${item.identifier}`,