diff --git a/packages/hoppscotch-common/locales/en.json b/packages/hoppscotch-common/locales/en.json index ef00204aed..ce2c5708aa 100644 --- a/packages/hoppscotch-common/locales/en.json +++ b/packages/hoppscotch-common/locales/en.json @@ -271,7 +271,8 @@ "subscription": "Subscriptions are empty", "team_name": "Workspace name empty", "teams": "You don't belong to any workspaces", - "tests": "There are no tests for this request" + "tests": "There are no tests for this request", + "access_tokens": "Access tokens are empty" }, "environment": { "add_to_global": "Add to Global", @@ -1056,6 +1057,7 @@ "no_expiration_verbose": "This token will never expire!", "token_expires_on": "This token will expire on", "generate_new_token": "Generate new token", - "generate_modal_title": "New Personal Access Token" + "generate_modal_title": "New Personal Access Token", + "deletion_success": "The access token {label} has been deleted" } } diff --git a/packages/hoppscotch-common/src/components/accessTokens/GenerateModal.vue b/packages/hoppscotch-common/src/components/accessTokens/GenerateModal.vue index eac7b800f0..b368d75660 100644 --- a/packages/hoppscotch-common/src/components/accessTokens/GenerateModal.vue +++ b/packages/hoppscotch-common/src/components/accessTokens/GenerateModal.vue @@ -30,12 +30,8 @@ -
- {{ t("access_tokens.token_purpose") }} -
@@ -48,7 +44,7 @@ interactive trigger="click" theme="popover" - :on-shown="tippyActions?.focus()" + :on-shown="() => tippyActions?.focus()" > () // Template refs -const tippyActions = ref(null) +const tippyActions = ref(null) const copyIcon = refAutoReset( IconCopy, diff --git a/packages/hoppscotch-common/src/components/accessTokens/List.vue b/packages/hoppscotch-common/src/components/accessTokens/List.vue index 1739f6e3c4..eb97c3568f 100644 --- a/packages/hoppscotch-common/src/components/accessTokens/List.vue +++ b/packages/hoppscotch-common/src/components/accessTokens/List.vue @@ -1,15 +1,34 @@