From 6a06094c5b7ca7769aca30499e08480a0d370b79 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.js | 20 +++++++++++++++++++
web_src/js/index.js | 2 +-
4 files changed, 28 insertions(+), 21 deletions(-)
create mode 100644 web_src/js/features/scoped-access-token.js
diff --git a/templates/user/settings/applications.tmpl b/templates/user/settings/applications.tmpl
index 3c1934dd8b471..65525aac2b213 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)}}
-
-
+