From 7975ab3a14ad6a4be7fa6ced2d3677d7bb509799 Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Thu, 20 Jan 2022 11:39:25 +0800 Subject: [PATCH] fix issue --- templates/org/team/repositories.tmpl | 2 +- web_src/js/index.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/org/team/repositories.tmpl b/templates/org/team/repositories.tmpl index e3c52e161..117c31edf 100644 --- a/templates/org/team/repositories.tmpl +++ b/templates/org/team/repositories.tmpl @@ -50,7 +50,7 @@ {{else}} {{svg "octicon-repo" 16}} {{end}} - {{$.Org.Name}}/{{.Name}} + {{$.Org.Name}}/{{.Alias}} {{else}} diff --git a/web_src/js/index.js b/web_src/js/index.js index de891d382..6bc0d2b88 100755 --- a/web_src/js/index.js +++ b/web_src/js/index.js @@ -2411,8 +2411,8 @@ function searchRepositories() { const items = []; $.each(response.data, (_i, item) => { items.push({ - title: item.full_name.split('/')[1], - description: item.full_name + title: item.full_display_name.split('/')[1], + description: item.full_display_name }); });