mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 19:06:18 +01:00 
			
		
		
		
	fix the component of access token list not mounted (#31824)
try to fix #31771
This commit is contained in:
		| @@ -1,5 +1,4 @@ | ||||
| <script lang="ts"> | ||||
| import {createApp} from 'vue'; | ||||
| import {hideElem, showElem} from '../utils/dom.ts'; | ||||
|  | ||||
| const sfc = { | ||||
| @@ -73,18 +72,6 @@ const sfc = { | ||||
| }; | ||||
|  | ||||
| export default sfc; | ||||
|  | ||||
| /** | ||||
|  * Initialize category toggle sections | ||||
|  */ | ||||
| export function initScopedAccessTokenCategories() { | ||||
|   for (const el of document.querySelectorAll('.scoped-access-token-mount')) { | ||||
|     createApp({}) | ||||
|       .component('scoped-access-token-selector', sfc) | ||||
|       .mount(el); | ||||
|   } | ||||
| } | ||||
|  | ||||
| </script> | ||||
| <template> | ||||
|   <div v-for="category in categories" :key="category" class="field tw-pl-1 tw-pb-1 access-token-category"> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user