summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorAndrey Nering <andrey.nering@gmail.com>2017-05-27 17:40:09 -0300
committerGitHub <noreply@github.com>2017-05-27 17:40:09 -0300
commite67ece26f0b97437200998b9b153b4c3a87a65aa (patch)
tree17532418661ed29a41d8f701c64e29d532a2be15 /public
parentbafd778c259801f0ceef1f621851afd43eabc3a5 (diff)
parent12dbdaac76b0eaa625d4e656df725bcd63218420 (diff)
downloadgitea-e67ece26f0b97437200998b9b153b4c3a87a65aa.tar.gz
gitea-e67ece26f0b97437200998b9b153b4c3a87a65aa.zip
Merge pull request #1750 from andreynering/dashboard-search-org-repos
More fixes for dashboard search
Diffstat (limited to 'public')
-rw-r--r--public/js/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/js/index.js b/public/js/index.js
index a3e9e99e7a..80d9486fd1 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -1661,7 +1661,7 @@ function initDashboardSearch() {
repos: [],
searchQuery: '',
suburl: document.querySelector('meta[name=_suburl]').content,
- uid: document.querySelector('meta[name=_uid]').content
+ uid: document.querySelector('meta[name=_context_uid]').content
},
mounted: function() {
@@ -1698,7 +1698,7 @@ function initDashboardSearch() {
} else if (repo.mirror) {
return 'octicon octicon-repo-clone';
} else if (repo.private) {
- return 'octicon octicon-repo-forked';
+ return 'octicon octicon-lock';
} else {
return 'octicon octicon-repo';
}