From a6adef0dd3c0234abc0c89aba44db95512157bda Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Thu, 20 Jan 2022 10:59:23 +0800 Subject: [PATCH] fix issue --- templates/admin/repo/list.tmpl | 2 +- web_src/js/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/admin/repo/list.tmpl b/templates/admin/repo/list.tmpl index f946b8a46..3dee62bfb 100644 --- a/templates/admin/repo/list.tmpl +++ b/templates/admin/repo/list.tmpl @@ -36,7 +36,7 @@ {{svg "octicon-lock" 16}} {{end}} - {{.Name}} + {{.Alias}} {{.NumWatches}} {{.NumStars}} diff --git a/web_src/js/index.js b/web_src/js/index.js index 41e717011..de891d382 100755 --- a/web_src/js/index.js +++ b/web_src/js/index.js @@ -2677,7 +2677,7 @@ function initTemplateSearch() { // Parse the response from the api to work with our dropdown $.each(response.data, (_r, repo) => { filteredResponse.results.push({ - name: htmlEncode(repo.full_name), + name: htmlEncode(repo.full_display_name), value: repo.id }); });