diff --git a/web/src/admin/tokens/TokenListPage.ts b/web/src/admin/tokens/TokenListPage.ts index 91101abcf..166e3fc42 100644 --- a/web/src/admin/tokens/TokenListPage.ts +++ b/web/src/admin/tokens/TokenListPage.ts @@ -118,18 +118,16 @@ export class TokenListPage extends TablePage { html`${item.expiring ? item.expires?.toLocaleString() : t`-`}`, html`${IntentToLabel(item.intent || IntentEnum.Api)}`, html` - - ${t`Update`} - ${t`Update Token`} - - - + ${!item.managed + ? html` + ${t`Update`} + ${t`Update Token`} + + + ` + : html``}