diff --git a/src/panels/profile/ha-long-lived-access-tokens-card.js b/src/panels/profile/ha-long-lived-access-tokens-card.js index 027e648988..966d746b53 100644 --- a/src/panels/profile/ha-long-lived-access-tokens-card.js +++ b/src/panels/profile/ha-long-lived-access-tokens-card.js @@ -44,10 +44,9 @@ class HaLongLivedTokens extends LocalizeMixin(EventsMixin(PolymerElement)) { @@ -89,14 +88,6 @@ class HaLongLivedTokens extends LocalizeMixin(EventsMixin(PolymerElement)) { ); } - _formatLastUsed(item) { - return item.last_used_at ? this.localize( - 'ui.panel.profile.refresh_tokens.last_used', - 'date', formatDateTime(new Date(item.last_used_at), this.language), - 'location', item.last_used_ip - ) : this.localize('ui.panel.profile.refresh_tokens.not_used'); - } - async _handleCreate() { const name = prompt(this.localize('ui.panel.profile.long_lived_access_tokens.prompt_name')); if (!name) return;