From 2e7d202a7f8051d140220d1c195ff73b80e0d1ff Mon Sep 17 00:00:00 2001 From: sillyguodong <33891828+sillyguodong@users.noreply.github.com> Date: Sat, 17 Aug 2024 01:37:36 +0800 Subject: [PATCH] fix the component of access token list not mounted (#31824) try to fix #31771 --- templates/user/settings/applications.tmpl | 14 ++++++------- .../components/ScopedAccessTokenSelector.vue | 13 ------------ web_src/js/features/scoped-access-token.ts | 20 +++++++++++++++++++ web_src/js/index.ts | 2 +- 4 files changed, 28 insertions(+), 21 deletions(-) create mode 100644 web_src/js/features/scoped-access-token.ts diff --git a/templates/user/settings/applications.tmpl b/templates/user/settings/applications.tmpl index 3c1934dd8b4..65525aac2b2 100644 --- a/templates/user/settings/applications.tmpl +++ b/templates/user/settings/applications.tmpl @@ -77,13 +77,13 @@

{{ctx.Locale.Tr "settings.access_token_desc" (HTMLFormat `href="%s/api/swagger" target="_blank"` AppSubUrl) (`href="https://docs.gitea.com/development/oauth2-provider#scopes" target="_blank"`|SafeHTML)}}

-
- +