mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 03:18:24 +00:00 
			
		
		
		
	Improve user search display name (#29002)
I tripped over this strange method and I don't think we need that workaround to fix the value. old:  new:  --------- Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
		| @@ -52,9 +52,9 @@ export function initRepoSettingSearchTeamBox() { | ||||
|       onResponse(response) { | ||||
|         const items = []; | ||||
|         $.each(response.data, (_i, item) => { | ||||
|           const title = `${item.name} (${item.permission} access)`; | ||||
|           items.push({ | ||||
|             title, | ||||
|             title: item.name, | ||||
|             description: `${item.permission} access` // TODO: translate this string | ||||
|           }); | ||||
|         }); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user